Invoices
List Ledger Accounts
Acesso
Membro da organização com esta permissão:
invoices:read
Uma chave de API com scopes também precisa da permissão nos seus 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.