Represents a Customer Ledger Entries in SOFT4Spaces.
Note
For information about enabling APIs for Business Central see Overview.
API endpoint
| API | Path |
| custLedgerEntries | https://{{businesscentralPrefix}}/{{APIGroup}}/{{version}}/companies({{companyId}})/custLedgerEntries |
Methods
| Method | Return Type | Description |
| GET custLedgerEntries | custLedgerEntries | Gets a cust. ledger entry object. |
GET custLedgerEntries
Description
Retrieves an existing cust. ledger entries records from Business Central.
HTTP Request
GET
https://{{businesscentralPrefix}}/{{APIGroup}}/{{version}}/companies({{companyId}})/custLedgerEntries
Request Headers
| Header | Value |
| Authorization | NTLM, OAuth2. Required. |
| Accept | application/json |
Request Body
None.
Response
Returns a 200 OK status code and JSON object representing the cust. ledger entries records.
Example Response
JSON
|
{ } |
GET custLedgerEntries
Description
Retrieves an existing cust. ledger entry from Business Central.
HTTP Request
GET
https://{{businesscentralPrefix}}/{{APIGroup}}/{{version}}/companies({{companyId}})/custLedgerEntries({{custLedgerEntry_ID}})
Request Headers
| Header | Value |
| Authorization | NTLM, OAuth2. Required. |
| Accept | application/json |
Request Body
None.
Response
Returns a 200 OK status code and JSON object representing the cust. ledger entry record.
Example Response
JSON
|
{ } |
Properties
| Property | Type | Description |
| id | GUID | The unique ID of the lease contract. Non-editable. |
| entryNo | integer | Specifies the number of the customer ledger entry. |
| postingDate | date | Specifies the posting date of the customer ledger entry. |
| customerNo | string | Specifies the customer number. |
| postingGroup | string | Specifies the customer posting group. |
| leaseContractNo | string | The lease contract number. |
| dueDate | date | Specifies the due date of the customer ledger entry. |
| amount | decimal | Specifies the amount of the customer ledger entry. |
| remainingAmount | decimal | Specifies the remaining amount of the customer ledger entry. |
| documentType | string | Specifies the document type. It can be: Payment, Invoice, Credit Memo, Finance Charge Memo, Reminder, Refund. |
| documentNo | string | Specifies the document number. |
| currencyCode | string | Specifies the document's currency. |
| documentExist | boolean | Specifies whether the document actually exists, like Sales Invoice, Sales Credit Memo. |
| dateFilter | string | Specifies the date filter. |
| InvoiceBlobText | string | Specifies the Sales Invoice or Sales Credit Memo PDF file encoded in Base64. |
JSON Representation
|
{ } |