background

How to import invoices

Tags:importinvoicescsvinvoice importfacturenfactuurimporterendeliverydelivery method
Show me

General

Invoices can be imported using a CSV file. When importing invoices, new customers can be created, but updating an existing customer is not possible during this process. To upload invoices, navigate to the invoice overview, click the button, or use the global import function and select "Invoices".

  The use of a customer number is strongly recommended when importing invoices.

Types of invoices that can be imported

  • Standard invoices: Invoice with positive amount
  • Zero-amount invoices: When importing invoices with an amount of '0', the invoice is directly marked as paid.
  • Credit notes: Import credit notes using a negative amount. After import, you can send the credit note to the customer using the "Send invoice" or "Share" function. Reminders are not sent for credit notes.
  • Expired invoices: Invoices already past the due date are marked as expired upon import. If automatic invoice reminders are configured and the imported invoice meets the reminder criteria, the first reminder is sent the day after import.

Overwrite Customer Data

When importing new invoices, you can enable the option "Allow overwrite of customer data when importing". This feature updates existing customer records based on either the customer number or email (if there is no customer number).

The following fields are updated:

  • Address
  • Mobile

It is not possible to add or update other values (name, email, ..). The email value is only used on the imported invoice itself as the recipient.

Profile

When importing invoices, you can also select a profile to use. This is used for:

  1. Offering the payment methods configured on that profile to pay the invoice
  2. Directly creating a Direct Debit transaction for the invoice when the customer has a signed Direct Debit agreement of the same profile.

Delivery Method

The CSV import option is only visible when the selected profile has the option "Send the invoice when a new invoice is booked" enabled.
Imported invoice invitations will be sent directly to your customer(s) using the selected channel:

  • Per customer: Uses the channel configured for each customer. If no specific channel is configured, email is used.
  • Disabled: Don’t send any invoices automatically after import
  • Email: Sends invitations via email
  • Paper: Sends only the invoice via postal service
    (Currently, “letter” and “invoice with letter” are not supported. Use a manual invite instead. These will be made available in a later release.)
  • Peppol: Sends the invoice over the Peppol network

If you did not select a specific profile for import but Default customer profile, then invoices will be sent using the delivery method Per customer.

Note: When uploading an invoice CSV:

  • Any new customers created during the upload will be assigned the system's default delivery method.
  • The delivery method selected during import applies only to the invoices.
  • It does not affect new customers, and existing customers will not be updated.
 To change the delivery method of a customer, go to your customer > Edit > Invoice: Select a specific channel and Save.

Important

If both of the following invoice options are enabled on the selected profile:

  • Send the invoice when a new invoice is booked
  • Include the PDF invoice as attachment to the invite email

And you are using Twikey to generate the PDF after import,
then the invitation is automatically sent using the delivery method selected during import,
once the PDF becomes available after generation.

Headers of the CSV file

Required

invoicenumberThe number of the invoice (alphanumeric). Needs to be unique!
amountThe amount of the invoice
dateThe date of the invoice (yyyy-mm-dd)
duedateThe due-date of the invoice (yyyy-mm-dd)
customerNumberThe customer number, can be used to reference an existing customer.
firstnameThe first name of the customer
lastnameThe last name of the customer
emailThe email, can be used to reference an existing customer (customerNumber takes priority over the email as reference)

Optional Invoice

refYour own reference, can be used to link the invoice to your internal system
titleThe title of the invoice, displayed on the payment page. When left empty, the invoice number is used as the title.
remittanceThe communication to the customer
  • When the value is a valid structured message or OGM (for Belgium), it is formatted as such +++123/4567/89123+++
  • When valid as a structured message, it is formatted as such when sending the invoice to your customer via email.
  • This is returned on the account statement of the customer.
  • The customer can use the remittance when paying the invoice using a wire transfer. If both the remittance and the invoice amount correspond, the payment is directly matched to the invoice and marked as paid.
lLanguage, used for the invitation of the invoice.
  • Accepted values: nl, fr, nl_nl (Netherlands), fr_fr (France), de, it, es, pt
  • When the language is not passed, the invitation is sent in the language of the customer.
    • If it is a new customer without a language, your company language is set as the language of the customer.
  • The language needs to be enabled on the selected profile to send invitations in that language, otherwise, English is used by default.

Optional Customer

mobilePhone number in international format is preferred (+31, +32, +33,..)
companyNameCompany name
cocCoC number: The Chamber Of Commerce number of the customer or VAT-number (format: BE0123456789), if the invoiced entity is a person, and thus not a company, this field should be left blank.
addressStreet and number of the address
cityCity of the customer
zipPostal code
countryCountry ISO format (2 characters)

Optional Invoicing email address

You can use a different email address to send the invoice to. When you pass a reference to an existing customer and an email address (another email address) in your import file, that email address is used on the invoice. The customer itself is not updated.

Template files

Tip: Some editors format date and transaction values to your local settings when opening a CSV file (ex: MS Excel)
Verify the file's content, or use another editor before uploading it in Twikey.
You can still enable the right language on your profile after import to send out the invitations in the correct language.
Last Update: 2025-05-13