One invoice, optionally waiting for its outcome
status is processing until SUNAT answers; settled says whether anything more will happen by itself, and what_next what to do. With wait, the call holds until the invoice leaves processing or the seconds run out, and answers the invoice as it is either way. template says which template and version its PDF prints with (kind, ref, template_id, name, version), fixed at emission. customer carries, besides id, id_type, id_number and name, its email (where the invoice is sent) and address (what it prints) as the invoice froze them when it was issued, not the customer as it is now; each null when it was issued without it. Only this read carries them: the rows of GET /v1/invoices, the answer of POST /v1/invoices, the events and the webhooks carry no address of the customer.
https://api.invox.page/v1/invoices/{id}Authorization
Path parameters
Query parameters
Header parameters
Returns
200
The invoice.
- customerobjectrequired
The customer plus how to reach them, as the invoice FROZE them when it was issued (not the customer as it is now):
email, where it is sent, andaddress, what it prints; eachnullwhen it was issued without it. Only here: the light row of the listing, the events and the webhooks carry no address of the customer.