list_invoices
List the invoices this company issued, newest first.
One document type at a time: pass nfse for services or nfe for goods. A company that issues both has to be asked twice.
Use it for "my last invoices", "what was rejected today", and to find a document whose access key the user does not have at hand. Read-only.
An authorized document is stored as issued, which is the value the rows carry; authorized is accepted as a synonym and asks for the same thing.
Every row carries both identifiers the other tools need: id, which reissue_invoice takes, and access_key, which consult_invoice, cancel_invoice and get_invoice_pdf take. A rejected row has an id and no access key — the authorizer never assigned one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| status | No | ||
| document_type | No | nfse |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The rows on this page. | |
| page | No | ||
| total | No | How many exist, not how many are here. | |
| per_page | No | ||
| next_page | No | ||
| prev_page | No | ||
| total_pages | No |