60-second decision tree: rejected or accepted first
Start with status, not the word ‘cancel’. If KSeF rejected the XML, it did not follow the accepted-document path: retain the rejection message, repair the source data, validate FA(3) and resubmit through the issuer’s process. Do not call that cancellation. If KSeF accepted the invoice and assigned a KSeF number, it is a legal document received in KSeF and cannot be edited, cancelled, deleted or overwritten. Next classify the event: wrong buyer NIP; price, VAT, quantity or descriptive error; cancelled sale or return; suspected duplicate; or AP dispute. The supplier, not buyer AP, issues the required corrective invoice or new original. FA(3), effective from 1 February 2026, is used for structured invoices including corrections, even when the original used FA(1) or FA(2). Recommended control: route every exception by KSeF status plus reason code, and escalate uncertain accounting or tax treatment for professional review.