Deutsch: Rechnung stornieren · See also: GoBD plugin
Withdrawing or cancelling an invoice¶
A typical case: the invoice is written, the PDF created – and before sending it you notice that a position is missing or too much was charged. This page describes the legally clean way (Germany) and how to do it in YaBS.
This page is no tax or legal advice. When in doubt, ask your tax adviser.
Legal background (Germany)¶
- Invoice number: under § 14 Abs. 4 Nr. 4 UStG the number identifies an invoice once. A number that was given out is not used a second time, not even for the corrected invoice.
- Immutability and traceability (GoBD, § 146 Abs. 4 AO): a finished document is not simply changed or deleted, and gaps in the numbers must be explainable. A correction is a new document that refers to the old one.
- Not sent yet: if the customer never received the invoice, no VAT shown in excess (§ 14c UStG) arises. The number is still given out; the cancellation documents why there is no valid invoice with that number.
- Already sent: send the cancellation invoice (with number and date of the original) to the customer and issue a new invoice – or a correction / credit note for the difference.
In short: while the invoice is a draft, just correct it. Once it is finished, cancel instead of deleting, keep the original and the cancellation, create a new invoice with a new number and send only that one.
With the GoBD plugin¶
The PDF already finalizes the invoice¶
With the default setting Finalize invoices on export (Settings › Plugins › GoBD-Konformitaet) an invoice is finalized the moment its PDF, ZUGFeRD or XRechnung is created – whether it is sent or not. Afterwards
- customer, number, dates, description and positions are locked,
- the document and its positions can be neither deleted nor moved to the trash,
- print, PDF and preview open the archived file instead of creating a new one,
- setting the status "Cancelled" by hand is blocked (pointing to the cancellation invoice).
The view shows GoBD FESTGESCHRIEBEN. An invoice without a final number (empty, ENTWURF…, DRAFT…) gets the next number when it is finalized – a draft name does not prevent finalizing on export.
Cancelling¶
- Open the invoice and choose "Stornorechnung erstellen" (create a cancellation invoice) in the banner – or Plugins › GoBD: 2. Beleg stornieren (Stornorechnung) and pick the invoice.
- YaBS creates the cancellation invoice:
- a credit note with the same positions and amounts (positive; the kind of document reduces),
- numbered with its own number format Cancellation invoice (Control panel › Formats, without a format
ST-YYYY-NNNNN), - with the description "Stornorechnung zu Rechnung Nr. …" and the reference to the original invoice – on the document (
<item.correctedinvoice>) and in the e-invoice (type 381, BT-25/BT-26), - itself finalized and archived.
- The original invoice gets the status Cancelled (
GoBD STORNIERT); the audit log records it (CANCELLED). - Create a new invoice – e.g. copy the old one –, correct it and send it. It gets the next free number.
If the old invoice never reached the customer, the cancellation invoice need not be sent; it stays in the archive as evidence.
In future: check first, then finalize¶
To check the PDF before sending it, switch off Finalize invoices on export. The invoice then stays a draft after the export (GoBD: Entwurf (offen)) and is locked only with "Jetzt GoBD-festschreiben" (finalize now) in the banner or Plugins › GoBD: 1. Beleg festschreiben – best right before sending. Then do not forget to finalize before sending.
Without the GoBD plugin¶
YaBS does not lock the invoice; technically it can still be edited. Legally the same applies. The clean way by hand:
- Keep the created PDF (do not delete it).
- In the invoice choose Create › Create Credit: the credit note takes over customer and positions; choose the original invoice in the field Corrected invoice (its number and date are then on the credit note and in the e-invoice, BT-25/BT-26) and note e.g. "Cancellation of invoice no. … of …" in the description.
- Set the status of the original invoice to Cancelled.
- Create a new invoice with a new number and send it.
Deleting is no substitute: deleting an issued invoice (finished, paid, cancelled, printed/exported or with a payment) shows a warning and suggests a credit note. The number of a deleted invoice is not given out again, and issued invoices stay in the trash for 8 years.