Issue a full credit note cancelling the given partner invoice. The credit note copies the original's seller, buyer, currency and payment terms, negates every line item, is marked paid, and references the cancelled invoice via referenceId. Only one credit note may exist per invoice. Issuing returns the linked settlement report to ready_to_invoice. Partial credit notes are not supported.
Eligibility depends on the B2B invoice processor recorded on the invoice at issuance. An invoice generated through the built-in B2B invoice integration is eligible as soon as it is issued. An invoice generated through a processor that certifies documents with a fiscal authority is eligible only after the original document has been certified — until the document exists at the fiscal authority there is nothing to cancel. Use fiscalization.status on the single-invoice read to observe this: pending and failed mean not yet creditable, certified means the precondition is met. Certification is a necessary, not a sufficient, condition — the rare certified document with no recorded fiscalization.referenceNumber described under fiscalization.status stays ineligible and requires operator intervention.
A 425 means the original document has not been certified with the fiscal authority yet, so there is nothing to cancel. Retry once fiscalization.status on the single-invoice read reaches certified.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
