In this article · 13 sections
- What is a credit note and when do you issue one?
- Who is invoicing in CloudCart for, and which plan includes it?
- How do you turn on automatic invoicing?
- How is an invoice issued, automatically and manually?
- How do I issue a credit note in CloudCart?
- What does a credit note contain, and is it negative?
- Can you issue a credit note for last month's or last year's invoice?
- Selling from Bulgaria: how is the Ordinance N-18 XML file generated?
- Invoice list, PDF archive and export for your accountant
- Built-in invoicing or separate invoicing software?
- Good invoicing practices for an online store
- Mistakes to avoid
- Frequently asked questions
In short: under the EU VAT Directive, a credit note is any document that amends and clearly refers to an invoice you have already issued. CloudCart issues the invoice automatically when an order becomes Paid, Completed or Fulfilled, with a sequential number, and emails it to the customer in the language of the order. You issue a credit note from the order (View credit note) or from a return when only part of the goods comes back.
This guide is for online stores anywhere in the EU that want invoices and credit notes to come straight out of the store instead of being retyped into separate invoicing software. CloudCart, the ecommerce platform for sellers across Europe, issues both documents from the order itself, and menu and field names below are written exactly as they appear in the admin. The legal rules come from the consolidated EU VAT Directive 2006/112/EC on EUR-Lex. The Directive sets the common frame, and each EU country adds its own details: deadlines, whether consumers must get an invoice, and how long you keep them. Under Art. 219a, invoicing follows the rules of the country where the sale is taxed, and for a store using the OSS scheme, the rules of the country where it is registered for OSS. This is not tax advice: your accountant confirms what applies to your company. The features themselves, without the step-by-step part, are on the Invoices page.
What is a credit note and when do you issue one?
A credit note is a document linked to an invoice you have already issued that reduces the taxable amount of that sale or cancels it completely. Art. 219 of the EU VAT Directive says that any document that amends and refers specifically and unambiguously to the initial invoice is treated as an invoice. Art. 90 adds that the taxable amount is reduced when a sale is cancelled, refused or the price goes down after the sale, under conditions each country sets. A debit note works the other way, for an amount that goes up.
In an online store you need a credit note (accountants also call it a "reversal" or "storno") in three cases: the customer returns the whole order, returns part of it, or the order is cancelled after the invoice is already out. The deadline for issuing it is national. In Bulgaria, for example, the VAT Act gives 5 days from the event that caused the note, while other countries set their own period, so ask your accountant for the one that applies to you.
| Document | When you issue it | Where in CloudCart |
|---|---|---|
| Invoice | A sale, always when the customer is a business, and to consumers where your country requires it | Automatically on payment, or with a button on the order |
| Credit note for the whole order | A cancelled or refunded order that has an invoice | The order → View credit note → Create credit note |
| Credit note for part of the order | The customer returns one or more lines | The order → Issue return → partial return → the return's credit note |
| Invoice without VAT (reverse charge or export) | A business customer in another EU country with a valid VAT number, or a customer outside the EU | Automatic: VAT is 0 and your "without VAT" reason prints on the invoice |
| Monthly XML file (Bulgaria only) | Stores in Bulgaria that take cards under Ordinance N-18 | Apps → N18 Audit → Add new period |
The invoice number must be sequential and identify the invoice uniquely, based on one or more series (Art. 226(2)). That is why CloudCart numbers invoices in one sequence and credit notes in a separate one, and pads the number with zeros to 10 digits by default: invoice 187 prints as 0000000187.
Who is invoicing in CloudCart for, and which plan includes it?
Invoicing is included in all four CloudCart plans: Baby Pack, Starter Pack, CC Pro and CC Master (see the feature table on pricing). Without an active plan, the Invoices menu is hidden and so is the invoice button on the order.
Under Art. 220 of the EU VAT Directive, an invoice is mandatory for every sale to another business or to a non-taxable legal person, for intra-EU B2B supplies of goods, and for distance sales of goods to consumers in other EU countries unless you declare them through the EU One Stop Shop (OSS). For other sales to consumers, Art. 221 lets each country decide whether an invoice is required. Invoices for intra-EU B2B supplies are due by the 15th of the month after the sale (Art. 222); for other sales, your country may set its own deadline.
Three kinds of stores gain the most.
- Stores that sell to businesses. Every order with a company VAT number needs an invoice. With Validate VAT number from VIES service switched on in Settings → Cart and checkout → Checkout fields, the VAT number is checked against the EU VIES service at checkout. A business customer in another EU country with a valid number gets an invoice with VAT at 0 and your reverse-charge wording. Group pricing and payment by invoice are covered in the guide to a B2B online store for wholesale.
- Stores with many returns, such as clothing and shoes, because every return of an invoiced order needs a credit note with the right amount.
- Stores that sell across borders. The invoice PDF renders in the language the customer used at checkout, so a customer who ordered in German gets a German invoice from the same store. Separate stores per country with their own language and currency are covered in multilanguage, multicurrency and multistore.
For stores selling mainly to consumers in a country where a B2C invoice is optional, CloudCart lets you invoice only orders with a billing address (see the steps below).
How do you turn on automatic invoicing?
You turn on automatic invoicing in Settings → Invoicing, in the General settings block at the top of the page. The page has three tabs: Invoice template, Credit note template and HTML templates (the raw templates). One Save button stores all three tabs at once.
- Turn invoicing on. Open Settings → Invoicing and switch on Activate invoicing. If an external invoicing app that replaces the built-in one is installed (Számlázz.hu in Hungary, for example), the switch stays off until you deactivate that app: a store has only one active invoice issuer.
- Choose when the invoice is issued. In Generate Invoice, choose Automatic if the invoice should go out on its own, or Manual if you want to issue it with a button on the order.
- Choose where the number comes from. With Manual, an Invoice number field appears with three options: Automated by system (the next number in the sequence), Manual by admin (you type the number) and External system (the number comes from external accounting software that is installed).
- Decide on the billing address rule. Issue an invoice only if a billing address is selected is on by default. An order without a billing address then gets no invoice, automatic or manual. For a store that sells mostly to consumers, this saves you invoices nobody asked for.
- Fill in your company details. On the Invoice template tab, click the company block in the invoice preview. Company name, phone, country, city, street and postcode are required. Your VAT number and extra lines (for example "VAT No." → your number) are optional. Type the VAT number with your country prefix and check it carefully: CloudCart prints it as entered and does not check your own number against VIES. Only for a company in Bulgaria are the registration number (checked for a valid checksum) and the legal representative required as well.
- Set the "without VAT" wording. In Settings → Taxes and fees, the VAT rule has two text fields printed on invoices when no VAT is charged: one for EU customers (reverse charge with a valid VAT number) and one for customers outside the EU (export). Art. 226 requires the mention "Reverse charge" when the customer pays the VAT, and a reference to the exemption when one applies.
- Set the numbering. In the top block of the invoice you set a prefix, the zero padding (up to 10 digits, 10 by default) and a suffix. Credit notes have their own separate sequence on the Credit note template tab.
- Add the logo and save. The invoice logo is uploaded in the Brand settings, not on this page. Click Save. If a field is wrong, the page opens the tab and the field with the error for you.
| Generate Invoice | Invoice number | What happens on payment | Best for |
|---|---|---|---|
| Automatic | (not shown) | The invoice is issued on its own with the next number | Most stores |
| Manual | Automated by system | You click the invoice button on the order; the number is sequential | Stores that check each order before invoicing |
| Manual | Manual by admin | A window opens where you type the number (digits only, unique) | Numbering kept somewhere else as well |
| Manual | External system | The number comes from the external software; if none comes back, you see an error | Accounting software that owns the sequence |
Important: every time an invoice is issued, in every mode, the customer receives an email with the PDF, and that email cannot be held back at the moment of issuing. Before you go live, place a test order to your own email address and check how the invoice looks. What makes an emailed PDF invoice valid is explained in the guide to electronic invoices.
How to choose the numbering
The number is built from three parts: a prefix, a sequential number padded with leading zeros, and a suffix. You can insert tags into the prefix and suffix by clicking them: [OY], [OM] and [OD] are the year, month and day of the document itself, [DATE] is the order date, [CID] is the customer number and [CGID] is the customer group. Use [OY] for the year of issue: an order placed on December 30 and invoiced on January 2 gets the new year. The starting number of the sequence cannot be set by hand: the platform takes the highest number already issued and adds 1. If you are moving from another platform and your accountant wants the old sequence to continue, ask whether you need a new prefix before the first invoice.
How is an invoice issued, automatically and manually?
The invoice is issued automatically when the order becomes Paid or Completed, when it is fulfilled, or right away if the order contains only digital products. A Pending order cannot get an invoice, not even manually. A cash on delivery order (the courier collects the money at the door) gets its invoice when it is fulfilled or marked as paid, whichever comes first.
In manual mode (Generate Invoice: Manual), the order's action panel has an Invoice row with a create button. Once the order has a number, View invoice appears at the top of the order and opens the PDF in a new tab, where you download or print it.
- The success message is no proof. The button says "Successfully generated invoice" even when no invoice was issued (the order does not meet the conditions or has no billing address). Check that the order has an invoice number.
- The invoice locks the order. Once an order has an invoice number, its products and prices cannot be edited. If the customer wants another product, you create a new order; if they want fewer, you create a return with a credit note. The details are in the order management guide.
- The number is permanent. An issued number stays on the order even if it is cancelled, and it is never given to another order. Reissuing an invoice with a new number is not possible: a mistake is fixed with a credit note and a new order. This follows the logic of Art. 219: an issued invoice is corrected with a separate document that refers to it.
How do I issue a credit note in CloudCart?
For the whole order, you issue the credit note from the View credit note button at the top of the order; for part of the order, from the return (Issue return). Both kinds share one numbering sequence, separate from invoices.
Credit note for the whole order
- Change the status. The order must be Cancelled or Refunded and must have an invoice. A Paid order with a partial refund does not qualify.
- Open View credit note. The button appears at the top of the order once the conditions are met. Click it and choose Create credit note.
- Check and send. After it is created, the same menu shows Download credit note (PDF in a new tab) and Send credit note (email to the customer). Amounts, lines and the date come from the order; there are no fields to fill in.
Send credit note also creates the note if it does not exist yet. On an order that does not meet the conditions, the button sends nothing, even though you see a green message. So click Create first, and Send once you see the number.
Credit note for a partial return
- Issue the return. On the order, click Issue return, choose a partial return and mark the lines and quantities. The form shows the amount to refund before you save. The line price is the price paid after the product discount.
- Receive the goods. When the parcel arrives, mark the return as received (Receive). The quantities go back into stock and the customer gets a notification.
- Issue the credit note. The credit note is a separate action on the return: the goods can already be back in stock while the note is still missing. Check the return history for a credit note entry and, if there is none, issue it from the return. This gives you time to inspect the goods before you document the amount.
| Whole order | Part of the order | |
|---|---|---|
| Where from | View credit note → Create credit note | Issue return → Receive → the return's credit note |
| Condition | Status Cancelled or Refunded, invoice issued | The order has an invoice and is not fully returned |
| Number per order | One | One for each return |
| Return record | Created automatically when a paid or invoiced order becomes Cancelled or Refunded | You create it with Issue return; stock comes back on Receive |
| Number | From the shared credit note sequence | From the same sequence |
Important: after a credit note for a partial return, the order can no longer be reversed as a whole in one step. Each further return covers the remaining lines. If the customer is going to send everything back, wait for the full parcel and create one return.
The credit note sequence is shared by both kinds. If you look only at whole-order notes, you will see gaps in the numbers: the missing ones went to partial returns. This is deliberate, because a tax inspector expects one sequence without holes. On the Credit note template tab, the Method of payment by credit note field changes only the payment method printed on the note. It refunds no money and changes no status. Card payments are refunded from the payment line on the order with Refund payment; for cash on delivery and bank transfers you send the money back yourself. The 14-day withdrawal rules are covered in returns and consumer rights online.
What does a credit note contain, and is it negative?
A credit note contains the details of an invoice and a clear reference to the invoice it amends: its own number and date, supplier and customer, the lines, the taxable amount and VAT being reduced, and the number and date of the original invoice (Art. 219 and Art. 226 of the EU VAT Directive). Since the amount reduces the sale, CloudCart shows the lines and totals in the credit note PDF with a minus sign, and the CSV export lists credit notes with negative amounts.
The invoice details listed in Art. 226 are: the date of issue, a sequential number, your VAT number, the customer's VAT number for a reverse-charge or intra-EU B2B sale, both full names and addresses, the quantity and nature of the goods, the taxable amount per rate, the unit price without VAT, the VAT rate and the VAT amount, plus "Reverse charge" or a reference to the exemption where one applies. Under Art. 230, amounts may be in any currency as long as the VAT is also stated in the national currency of the country where it is due. A store that sells in euro to a customer in a non-euro country, such as Poland or Czechia, should check this with its accountant.
None of these fields is typed in by hand in CloudCart. The number comes from the credit note sequence, the date is the moment of creation, the lines and amounts come from the order, and the text for the reason or for a VAT exemption comes from the template in Settings → Invoicing → Credit note template. Downloaded as a file, the document is named order_<order number>_credit_<YYYY-MM-DD>.pdf.
| Document | When | Effect on the sale | In CloudCart |
|---|---|---|---|
| Invoice | A sale (the moment VAT becomes due) | Records the taxable amount and VAT | Automatically or with a button on the order |
| Credit note (reversal, storno) | Return, cancellation, an amount that was too high | Reduces or cancels the taxable amount | From the order or from the return |
| Debit note | The taxable amount goes up after the invoice | Increases the taxable amount | No button: an increase is handled with a new order and a new invoice |
Important: the total of all credit notes on one order cannot exceed the order total. If a partial return's note would go over that limit, CloudCart refuses it with the message "Issuing this credit note would exceed the order total."
Can you issue a credit note for last month's or last year's invoice?
Yes, a credit note for an invoice from a previous month or year is issued as usual, and the reduction is reported in the period of the return or cancellation under the rules of your country. Example: a customer in Vienna is invoiced €240 on the 28th of one month and returns a €60 jacket on the 3rd of the next. The original invoice stays as it is, and a credit note for -€60 dated on the day you receive the jacket reduces the sale.
- The date is the day of creation. CloudCart dates the note on the day you click Create credit note or issue the note on the return. Issue it on the day you receive the goods and you stay inside any national deadline (in Bulgaria, 5 days from the event).
- The reversal goes into the month of the return. Reports that CloudCart builds by month, such as the N-18 file for stores in Bulgaria, keep the sale in the month it was paid and put the reversal in the month of the cancellation or return. An old monthly file is not generated again.
- The status locks. A Cancelled or Refunded order with a credit note or a return cannot go back to Paid. You can still switch between Cancelled and Refunded.
- Wrong price or discount after invoicing. An invoiced order cannot be edited, so in CloudCart the path is a credit note for the whole order plus a new order with the correct price, which gets its own invoice.
Selling from Bulgaria: how is the Ordinance N-18 XML file generated?
This section applies only to stores registered in Bulgaria. Ordinance N-18 is Bulgaria's set of reporting rules for sales, and a store there that takes cards online can follow its alternative regime instead of using a cash register. The N18 Audit app builds the monthly XML file: you choose a month, CloudCart builds the file to Annex 38 of the ordinance, and you download it and upload it to the portal of the NRA (Bulgaria's National Revenue Agency) between the 1st and the 15th of the following month. CloudCart does not file it for you. The rules are in Ordinance N-18 on lex.bg (in Bulgarian), Art. 52o to 52u.
- Register the store with the NRA. The NRA assigns a unique e-shop number after you file the store's details under Annex 33. The registration is explained step by step in Ordinance N-18 for online stores.
- Install N18 Audit. Install N18 Audit from Apps. The app has no on/off switch: once installed, it works.
- Enter the unique number. In the app settings, enter the number from the NRA. The default domain is the store's main address. Map each payment method to its type under the ordinance: a bank's virtual POS (with the terminal number) or a payment service provider.
- Add a period. Click Add new period, choose the month (MM-YYYY) and save. The file is built in the background, sometimes over several hours when the system is busy, and you get a notification in the admin when it is ready.
- Download and file it. The file is named, for example, "N18 Audit 2026-10 - …xml". Download it from the list and upload it to the NRA portal by the 15th.
Two groups of orders go into the file. Sales are the orders that became Paid, Completed or Fulfilled during the month. Reversals are orders already sold that became Cancelled, Refunded or another negative status during the month, plus partial returns by return date. An order placed in April and paid in May goes into May. A sale in May returned in June is a sale in May and a reversal in June. Each order appears in one monthly file only. When N18 Audit is installed, a card payment also gets a sales document, the receipt the ordinance requires instead of a fiscal receipt, with the link in the order history.
Important: the file takes the document number of each sale (the sales document or the invoice) from the store's invoicing. If invoicing was off during the month, the sales go in without a number and the file does not meet the ordinance. Turn invoicing on before the first month you report. If you generate a month again, a second file appears next to the first: download the new one and delete the old one so that you do not file the wrong one.
Invoice list, PDF archive and export for your accountant
All issued invoices are in the Invoices menu on the left. It lists only orders with an invoice number, with buttons to download the invoice and the credit note on each row. Filters search by order date, customer, whether a credit note exists, and order or invoice number.
- Download saves the invoices as PDF files in a ZIP archive.
- Export creates a CSV register with 12 columns (invoice number, order, customer, amount and more), one row per product. Credit notes come at the end, with the invoice and credit note numbers and negative amounts, so they are easy to reconcile.
- Up to 10 invoices download immediately. Above 10, they are processed in the background and arrive in your inbox.
- If two-factor authentication is on, CloudCart asks for a code before downloading or exporting.
Important: the Download and Export buttons currently cover every invoice in the store, whatever the filter. The filter narrows only the list on screen. If your accountant wants a single month or quarter, for example for the OSS return, split the rows by date in Excel.
The EU VAT Directive leaves the storage period to each country (Art. 247), and the invoice must stay authentic and legible for that whole period (Art. 233). Keep the ZIP archive and the CSV register together for as long as your country requires.
An AI assistant can run the monthly check for you. You connect Claude Code, ChatGPT Codex, Gemini CLI or Cursor to the store with a read-only PAT token (a personal access token from the admin) and ask: "Which paid orders from October still have no invoice number, and which cancelled orders have no credit note?" The assistant reads the orders and gives you the list before you hand the month to your accountant. How to create the token and which permissions to give is explained in the PAT token in CloudCart.
Built-in invoicing or separate invoicing software?
For most EU stores, CloudCart's built-in invoicing covers the invoice, the credit note, the reverse-charge wording and the export for your accountant, with no separate invoicing software. External software makes sense if your accounting already keeps the sequence there, or if you sell in a country with its own mandatory e-invoicing or reporting system.
That second case is growing. Since Council Directive (EU) 2025/516 (VAT in the Digital Age), EU countries may require domestic businesses to issue electronic invoices in a structured format, and from July 1, 2030 invoices for intra-EU B2B sales will have to be structured e-invoices with digital reporting. A PDF sent by email does not count as an e-invoice in that sense. The difference is explained in the guide to electronic invoices. CloudCart connects to the national systems below.
| Option | Market | Who assigns the number | Note |
|---|---|---|---|
| CloudCart built-in invoicing | All markets | CloudCart, from the store's sequence | Invoice, credit note, template, PDF in the customer's language, export |
| SmartBill | Romania | SmartBill | Invoices and credit notes, with submission to e-Factura |
| Számlázz.hu | Hungary | Számlázz.hu | Replaces built-in invoicing while active |
| myDATA | Greece | CloudCart | Sends each invoice and credit note to AADE and prints the MARK and QR code |
| Gensoft | Bulgaria | Gensoft (Invoice number: External system) | Accounting system; the invoice stays in CloudCart, the number comes from Gensoft |
| FGO | Bulgaria | FGO | Documents are kept in FGO; the order keeps the link |
If your store is connected to inventory or ERP software, check which system issues the invoice before you turn invoicing on in both. How the roles split between the store and the ERP is described in ERP for an online store. If you sell to consumers in several EU countries, the VAT rule in Settings → Taxes and fees has a One Stop Shop switch: when it is on, cross-border B2C sales are charged at the rate of the customer's country. When OSS applies is covered in OSS VAT for cross-border sales. When you migrate from WooCommerce, Shopify, Magento or OpenCart, the old orders are carried over and kept separately, and new invoices start from the CloudCart sequence; the details are on the migration to CloudCart page.
Good invoicing practices for an online store
- Test with an order to yourself. The invoice email goes out on every issue. A test order shows the template, the company details and the number before any customer sees them.
- Turn invoicing on from day one. A sequence that starts with the first order is easier to explain to an inspector than invoices added later by hand.
- Fill in both "without VAT" texts. Without them, reverse-charge and export invoices print a default sentence that your accountant may not accept.
- Use [OY], never [DATE], for the year. [DATE] is the order date and [OY] is the year of the document. The difference shows on orders from late December.
- Wait for the full parcel on a full return. One return for everything is cleaner than several partial ones, and after the first partial note the order can no longer be reversed as a whole.
- Check the order before marking it paid. After invoicing, products and prices are locked. For phone orders, check quantities, the VAT number and the billing address before you record the payment.
- Give your accountant the CSV, not a folder of PDFs. The register with negative credit note amounts is far quicker to match against the bank statement.
Mistakes to avoid
- An invoice that "was generated" but does not exist. The success message also appears when the order does not meet the conditions. Check the number on the order.
- A credit note on a paid order with a partial refund. View credit note does not appear until the status is Cancelled or Refunded. For part of the amount, use a return.
- Two systems issuing invoices at once. Built-in invoicing plus external software that also issues documents gives two sequences for one order. Pick one issuer.
- A typo in your own VAT number. CloudCart prints your VAT number exactly as typed on every invoice. Check the country prefix and the digits once, before the first order.
- Forgetting that VIES can be down. With VIES validation on, a business customer whose number fails the check cannot complete the order, and that includes moments when the VIES service itself is unavailable.
- An order without a billing address while the rule is on. A business customer who left the billing address empty gets no invoice. Add the address on the order, then issue the invoice.
Frequently asked questions
A credit note is a document linked to an invoice already issued that reduces the taxable amount of the sale or cancels it. Under Art. 219 of the EU VAT Directive, a document that amends and clearly refers to the original invoice is treated as an invoice. It states the number and date of the invoice it corrects.
In CloudCart, for the whole order, set the status to Cancelled or Refunded, click View credit note and choose Create credit note. For part of the order, create a return (Issue return), mark the returned lines, receive the goods and issue the return's credit note. Amounts and lines come from the order.
For sales to businesses, yes: Art. 220 of the EU VAT Directive makes the invoice mandatory. For sales to consumers it depends on the country, because Art. 221 lets each EU country decide. Distance sales to consumers in other EU countries need an invoice unless you declare them through OSS.
In Settings → Invoicing, switch on Activate invoicing and set Generate Invoice to Automatic. The invoice goes out on its own when the order becomes Paid, Completed or Fulfilled, and the customer receives it by email in the language of the order. If the billing address rule is on, orders without a billing address get no invoice.
Switch on Validate VAT number from VIES service in the checkout fields. A customer in another EU country whose VAT number passes VIES gets an order with VAT at 0, and the invoice prints your "without VAT" text from Settings → Taxes and fees. Make that text include the mention "Reverse charge", which Art. 226 requires.
Not directly. In CloudCart an issued invoice locks the order and keeps its number permanently. The mistake is fixed with a credit note that refers to the invoice and a new order with the right details, which gets a new invoice.
Yes. The credit note is dated on the day you create it and refers to the original invoice, whatever its date. The deadline is set nationally and usually runs from the return or cancellation: in Bulgaria, for example, it is 5 days.
Yes, because the credit note reduces the sale. In CloudCart the lines and totals in the credit note PDF carry a minus sign, and in the CSV export of invoices the credit notes have negative amounts.
Invoices and credit notes are in every CloudCart plan, and sales carry 0% commission to the platform (zero-commission ecommerce). A new store pays €1/month for the first 3 months on any plan. Create your store for €1 and issue your first invoice with your first order. For invoicing questions, write to support@cloudcart.com.
Sources
- consolidated EU VAT Directive 2006/112/EC on EUR-Lexeur-lex.europa.eu
- the EU One Stop Shop (OSS)vat-one-stop-shop.ec.europa.eu
- Ordinance N-18 on lex.bg (in Bulgarian)lex.bg
- Council Directive (EU) 2025/516 (VAT in the Digital Age)eur-lex.europa.eu
