NF-e
List correction letters
Returns every correction letter of the invoice, each with the receipt XML and the DACCE download link.
GET
/openapi/v2/empresas/{empresaId}/nf-e/{nfeId}/carta-correcaoRequires the
token, timestamp and sign signature headers, see Authentication.Returns every correction letter of the invoice in ascending sequencia; each element is shaped like the response of Register correction letter. Cancelled invoices remain queryable. Authentication errors (10009xxx) are listed under Authentication.
Path parameters
empresaId* | string | Company identifier |
nfeId* | string | Invoice identifier |
* Required field
200
Array of correction letters in ascending
sequencia; an empty array when none has been registered. | array | Letter list |
[].tipoEvent type
| Values | Meaning |
|---|---|
| CartaCorrecao | Correction letter: fixes wording on an authorized invoice without changing tax amounts |
[].statusRegistration status
| Values | Meaning |
|---|---|
| Registrada | Registered with SEFAZ; the only status returned, because a refusal becomes error 10004016 |
| Code | HTTP | |
|---|---|---|
| 10004000 | 404 | The nfeId does not exist. Check the id sent at issuance and the empresaId. |
| 10004001 | 404 | The nfeId does not exist. Check the id sent at issuance and the empresaId. |
| 10003000 | 404 | empresaId does not exist or does not belong to this application. |
| 10004012 | 400 | The request has not produced an invoice yet: pending or denied. No letters exist in that state. |
