Invoices
List Ledger Accounts
Zugriff
Mitglied der Organisation mit dieser Berechtigung:
invoices:read
Ein API-Schlüssel mit Scopes braucht die Berechtigung auch in seinen Scopes.
GET
Lists every ledger the customer has booked invoice lines on, with the booked balance, the products booked on it and whether a product guards it. Drafts do not count.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
customerId*stringOK
application/json- response
curl -X GET 'https://api.tillor.eu/orgs//customers/string/invoices/ledger-accounts'Example Response
nullList Guarded Ledger Balances GET
Lists the customer's booked balance on every ledger that a product guards. Drafts do not count.
List Ledger Account Entries GET
Lists the newest booked invoices with lines on the ledger, each with its amount and the customer's running balance, plus how many there are in all. The running balance includes older invoices.