List payment terms
List a ledger's tax rates, payment terms or journals. Use kind 'journals' with journalType 'sales' to pick the journal for a new sales invoice.
Requires the ledger:read scope (Lezen). Same operation as the MCP tool list-reference-data.
bearerAuthorizationBearer <token>A company group API key (al_live_…, created at /dashboard/api), an OAuth access token from the same authorization flow MCP clients use, or (other LedgerSuite products, /administrations routes only) a LedgerSuite client_credentials token.
ledgerId*stringLedger (administration) id, from list-ledgers
1 <= lengthlimit?integerMax results (default 20; max 50 with query, 100 without)
1 <= value <= 100cursor?stringnextCursor of the previous page
1 <= lengthmodifiedSince?stringOnly records that changed in AskLedger at or after this moment (ISO 8601), oldest change first. Use the previous call's time to sync incrementally
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$date-timeincludeDeleted?booleanInclude records deleted in the accounting package (default false)
OK
application/json- response
items*array<||>total*|Total matching records; null for a free-text search, which ranks instead of counting
nextCursor*|Pass as cursor to get the next page; null on the last page
curl -X GET "https://example.com/ledgers/string/payment-terms"{ "items": [ { "id": "string", "remoteId": "string", "code": "string", "name": "string", "rate": 0, "remoteType": "string", "taxCategory": "nl_high", "remoteUpdatedAt": "string", "updatedAt": "string", "deletedAt": "string" } ], "total": 0, "nextCursor": "string"}