curl --request GET \
--url https://api.light.inc/rest/ext/v1/ledger-transaction-lines
{
"maxTransactionAmount": 123,
"total": 123,
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ledgerTransactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionSequenceId": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityCode": "<string>",
"ledgerName": "PRIMARY",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountCode": 123,
"accountLabel": "<string>",
"accountType": "BANK",
"accountingDocumentLineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentSequenceId": "<string>",
"accountingDocumentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountingDocumentNumber": "<string>",
"documentType": "AP",
"postingDate": "2023-12-25",
"valuationDate": "2023-12-25",
"description": "<string>",
"documentDescription": "<string>",
"amounts": {
"dcSign": "D",
"transactionAmount": 123,
"transactionAmountInMajors": 123,
"signedTransactionAmount": 123,
"transactionCurrency": "USD",
"localAmount": 123,
"localAmountInMajors": 123,
"signedLocalAmount": 123,
"localCurrency": "USD",
"groupAmount": 123,
"groupAmountInMajors": 123,
"signedGroupAmount": 123,
"groupCurrency": "USD",
"credit": true,
"debit": true
},
"taxId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxTagLabel": "<string>",
"taxCode": "<string>",
"businessPartnerName": "<string>",
"businessPartnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"costCenterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accruedLedgerTransactionLineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ledgerTransactionType": "DEFAULT",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
],
"amortized": true
}
]
}
List ledger transaction lines
curl --request GET \
--url https://api.light.inc/rest/ext/v1/ledger-transaction-lines
{
"maxTransactionAmount": 123,
"total": 123,
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ledgerTransactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionSequenceId": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityCode": "<string>",
"ledgerName": "PRIMARY",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountCode": 123,
"accountLabel": "<string>",
"accountType": "BANK",
"accountingDocumentLineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentSequenceId": "<string>",
"accountingDocumentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountingDocumentNumber": "<string>",
"documentType": "AP",
"postingDate": "2023-12-25",
"valuationDate": "2023-12-25",
"description": "<string>",
"documentDescription": "<string>",
"amounts": {
"dcSign": "D",
"transactionAmount": 123,
"transactionAmountInMajors": 123,
"signedTransactionAmount": 123,
"transactionCurrency": "USD",
"localAmount": 123,
"localAmountInMajors": 123,
"signedLocalAmount": 123,
"localCurrency": "USD",
"groupAmount": 123,
"groupAmountInMajors": 123,
"signedGroupAmount": 123,
"groupCurrency": "USD",
"credit": true,
"debit": true
},
"taxId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxTagLabel": "<string>",
"taxCode": "<string>",
"businessPartnerName": "<string>",
"businessPartnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"costCenterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accruedLedgerTransactionLineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ledgerTransactionType": "DEFAULT",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
],
"amortized": true
}
]
}
"amount:desc,createdAt:asc"
"state:in:IN_DRAFT|SCHEDULED|PAID,amount:gte:500"
default response
The response is of type object
.