consult_invoice
Look up an invoice's current status by its access key.
Read-only: it never changes the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access_key | Yes | ||
| document_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Local id. Use it for reissue and for submissions, and when a document was rejected and has no key. | |
| status | No | issued, rejected or cancelled. | |
| protocol | No | The authorization protocol, when granted. | |
| access_key | No | The authorizer's key. Absent while the document is not authorized. |