- Understand what invoice corrections are and when to use them.
- Learn about the three main correction types: credit notes, debit notes, and corrective invoice.
- Explore different ways to issue a credit note to correct an invoice:
- Using the API:
- Upload a fully defined credit note
- Auto-generate a credit note from an existing invoice
- Using the Console to create the credit note through the interface.
- Using the API:
Understanding invoice corrections
Billing mistakes happen, and when they do, they need to be addressed correctly. Depending on the nature of the error, different types of financial documents can be issued to correct an invoice. These are credit notes, debit notes, and corrective invoices. Letโs walk through how each of these works:Credit note (most common)
At Invopop, we generally recommend issuing a credit note if you need to cancel, refund, or adjust a validated invoice. Theyโre the most widely accepted and straightforward method for making corrections. A credit note is a document issued by the supplier to the buyer to indicate the intent to credit a specified amount. This doesnโt modify the original invoice but adjusts the total amount due. Credit notes are typically issued when thereโs an error in the invoice, when goods are returned or services are rejected, or when the goods delivered are damaged.Debit note (rarely used)
A debit note is a document issued by the supplier to request additional funds related to a previously issued invoice (e.g., to account for omitted shipping costs). For example, suppose a supplier sends an invoice to the buyer for a total of โฌ400, and later realizes they forgot to include an additional โฌ50. To correct this, the supplier could issue a debit note, linked to the original invoice, for the missing $50 to inform the buyer of the outstanding amount. Now, you might wonder: Why not just issue a new invoice for โฌ50? Well, they could, and thatโs exactly what we recommend at Invopop. While debit notes are a valid financial document, theyโre not commonly used in practice. Itโs worth noting that some sources describe a debit note as a document issued by the buyer to the supplier. However, GOBL does not support this interpretation. In GOBL, documents from buyer to supplier fall under order management workflows.Corrective invoice (country-specific)
Some local regulations require a corrective invoice (also known as a rectifying invoice), when certain key details on an invoice need to be changed. A corrective invoice is a new document that references and replaces the original one. Itโs typically used when there are significant errors in fields such as the buyerโs name, tax ID, or invoice date, and it fully replaces the original invoice for legal and accounting purposes. Countries that support corrective invoices include Spain and Poland. Itโs worth noting that not all countries support corrective invoices, and in some countries where the tax regime does, such as Spain, GOBL may attempt to map credit and debit notes into the appropriate corrective format.Correcting your first invoice using a credit note
Before we dive in make sure youโve completed the Quickstart tutorial, you should now have a processed invoice in your workspace. Letโs say there was a mistake in the invoice and we need to fix it. Once an invoice has been issued, it shouldnโt be edited. Instead, we issue a credit note to make the correction. There are two ways to do this:- From the Invopop Console
- Using the API
Using the console
In the Console, click on Invoices in the left sidebar and select the invoice you want to correct.Open the Correction dialog
Click on the Correct button in the top-right corner. This will open the Correction dialog.

Generate the credit note
Click the Correct button at the bottom right of the dialog. This will generate the credit note based on the original invoice.

Using the API
There are two ways to submit a credit note using the API:- Upload a fully defined credit note: You provide the complete document, including all fields.
- Auto-generate a credit note: You reference an existing invoice, and Invopop builds the credit note for you.
Create a complete credit note
This method gives you full control over the credit note. You define everything, from line items and taxes to the original invoice reference. Itโs perfect if you already have the credit note prepared, whether you built it manually or generated it somewhere else. Just upload it directly to Invopop and youโre good to go. How it works Use the Create an Entry API endpoint with a request body that wraps your credit note in the required structure:- Set the
$schemafield so that it points to https://gobl.org/draft-0/bill/invoice. - Set the
typefield accordingly (credit-noteinstead ofstandard). - Include a reference to the original invoice youโre correcting (known as a preceding block in GOBL).
credit_note, a preceding block is included to reference the original invoice, and the $schema points to the credit note schema.
200 OK response along with the JSON for your newly registered credit note.
Auto-generate a credit note from an invoice
Sending a complete credit note to Invopop is straightforward, as long as you already have the full document ready to go. That said, building one from scratch can be complex, not just because of the structure, but because certain regimes require very specific references to the original invoice. For example, in Colombia, you need to include the original CUFE code, and in VERI*FACTU, the credit note must reproduce a detailed breakdown of the original taxes. Thatโs why it helps to have the system handle this automatically when possible. This is where Invopop really shines. Instead of defining everything yourself, you can simply reference the invoice you want to correct. Just pass the Silo Entry ID and the type of correction, and Invopop will take care of the rest. How it works Use the Create an Entry API endpoint, but this time, skip thedata field. Instead, youโll send a request body that tells Invopop to generate the credit note for you:
previous_idshould point to the Silo Entry ID of the original invoice.correct.typeshould becredit-noteto indicate the correction type.
200 OK response along with the JSON for your newly registered credit note.