get_invoice_submissions
Show every attempt made for one invoice and what came back.
This is the tool that answers "why was it rejected". consult_invoice gives the status; this gives the tax authority's own code, its message, and the request and response exactly as they went over the wire. Read-only.
It takes the invoice_id, like reissue_invoice — a rejected document has no access key to look it up by. Get the id from list_invoices.
The rows are attempts, not documents: a reissued invoice has more than one, oldest first, and only the last describes the current state. Quote the authority's message rather than paraphrasing it; the code is what the user will search for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attempts | No | ||
| invoice_id | No |