Invoices
List Ledger Accounts
Accès
Membre de l’organisation avec cette autorisation :
invoices:read
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses 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.