Articles on: Data, import & API
This article is also available in:

Importing sales invoices and credit notes

With the import template you load sales invoices and credit notes into Robaws in one go, for example the open invoices from your previous software. Invoices and credit notes each have their own tab, with the same columns. You fill in the invoice and credit note lines on a separate lines tab. First read the general explanation about the import.


Quick navigation:


Tabs for sales invoices and credit notes


Tab

Content

Reference to the document

invoices

The details at the top of the sales invoice: customer, dates, journal, status ... One row per invoice.

—

invoicelines

The invoice lines. One row per line.

NR

credits

The details at the top of the credit note. Same columns as 'invoices'. One row per credit note.

—

creditlines

The credit note lines. Same columns as 'invoicelines'.

NR


You link the lines to the invoice or credit note with the NR column. Fill in the invoice number in NR and use the same number on the lines tab. Robaws looks up the document by that number, including an invoice that was already in Robaws before the import. If several documents have the same number, the lines go to the most recently created document. If Robaws does not find a document, you get a warning and the line is not added.


When searching by number, Robaws makes no distinction between invoices and credit notes. If a credit note has the same number as an invoice, invoice lines can end up on the credit note or the other way round. So always give invoices and credit notes different numbers.


You link the document to a customer with one of these columns:

  • CLIENTNR: the customer number. This is the number you filled in in the NR column of the 'clients' tab in an earlier import, or the number of a customer on the 'clients' tab of the same file.
  • CLIENTNAME: the exact customer name, with the same capitals and spaces.
  • CLIENTID: the ID of the customer. You find it in the 'Id' column of the Excel export of the customer overview.


You link the delivery customer in the same way with DELIVERYCLIENTNR, DELIVERYCLIENTNAME or DELIVERYCLIENTID. If Robaws does not find the customer, the field stays empty, without a warning. At the top of the invoice there is no column for the project: you link a project per line with PROJECTNR.


Importing sales invoices and credit notes


  1. Make sure customers, projects and items are already in Robaws. Customers and projects may be in the same file. Items and equipment may not: Robaws only processes those after the invoices. So import your items separately first.
  2. Fill in the 'invoices' tab. Use one row per invoice. Fill in the invoice number in NR, the journal in JOURNAL and the due date in EXPIREDATE.
  3. Fill in the 'invoicelines' tab. Use one row per line and fill in the number of the invoice in the NR column.
  4. Do the same for credit notes on the 'credits' and 'creditlines' tabs. In JOURNAL, choose a journal for credit notes.
  5. Import the file. Go to Settings > Import, click Import and choose your file. Then check the report and the numbering of your journal.


Example: we import one open invoice from our previous software for customer K1002, with two lines.


'invoices' tab:


NR

DATE

EXPIREDATE

CLIENTNR

JOURNAL

2025-0412

15/12/2025

14/01/2026

K1002

Sales


'invoicelines' tab:


NR

LINE_TYPE

DESCRIPTION

AMOUNT

UNITTYPE

PRICE

BTWTYPE

ACCOUNTANCY_CODE

2025-0412

P

Radiator installation

2

pc

320

20%

4000

2025-0412

P

Labour hours

6

h

55

20%

4000


After the import, invoice 2025-0412 is in the sales invoice overview, with the two lines. In this example the sales journal is called 'Sales'. Use the name of a journal from your own settings.


Numbering and default values


  • With NR the invoice gets the number from your file. If that number happens to be the next one in the journal's series, the counter moves up with it.
  • Without NR the invoice gets the next number from the journal. If the journal does not book automatically, the invoice gets the number PROFORMA. Without your own number you cannot link the lines reliably.
  • Every imported invoice uses a structured statement from the series of the year.
  • If you leave DATE empty, the invoice gets the date of the import.
  • If you leave EXPIREDATE empty, Robaws calculates the due date from the import day, even if you fill in a different invoice date.
  • The default values such as the payment condition come from your settings, not from the customer.


Updating sales invoices and credit notes


With the UPDATE_BY column you update the details at the top of existing invoices and credit notes. You can fill in one value:


UPDATE_BY

Robaws looks up the document by

NR

The number in the NR column. Archived documents are found as well. With duplicate numbers, Robaws takes the most recent document, invoice or credit note.


If Robaws does not find a document, it creates a new one. The COMPANY and JOURNAL columns are ignored in an update: you cannot change the company and journal of an existing invoice this way.


The lines on the lines tabs are not replaced in an update, but added again. Leave out 'invoicelines' and 'creditlines' if you only want to update the details at the top of the document.


Status Paid and payments


If, after the import, the status of an invoice matches the status set as paid in your invoicing settings, Robaws registers a payment of the type Import for the total amount of the invoice. This does not happen for credit notes.


  • For a new invoice, the lines are only processed after the invoice itself. At that moment the total is still zero, so the invoice can still show an outstanding balance after the import.
  • For an update of an invoice with lines, the payment is registered again with every import. The invoice can then be booked as paid several times.


So always check the payments on the invoices with status paid after the import.


You find more information in UPDATE_BY | general explanation.


Columns of the invoices and credits tabs


Column title

Field in Robaws

Explanation

UPDATE_BY

—

Only for an update: NR.

NR

Invoice number

Your own number. Empty: the next number from the journal, see Numbering and default values.

DATE

Date

Date. Empty: the import day.

EXPIREDATE

Due date

Date. Empty: calculated from the import day.

CLIENTNR, CLIENTNAME or CLIENTID

Customer

See Tabs for sales invoices and credit notes. Unknown: empty, without a warning.

DELIVERYCLIENTNR, DELIVERYCLIENTNAME or DELIVERYCLIENTID

Delivery customer

The delivery customer. As for the customer.

STATUS

Status

Write the status exactly as in your invoicing settings. Robaws does not check the value. Empty: the initial status from your settings.

CLIENTREF

Customer reference


JOURNAL

Journal

Exact name of a sales journal. On the 'credits' tab: a journal for credit notes. Empty: the first suitable journal in alphabetical order. An unknown name gives an error. Only for a new document.

COMPANY

Company

The abbreviation of the company, not the name. Determines which journals Robaws chooses from. Only for a new document.

CURRENCY

Currency

Currency code, e.g. GBP.

CONVERSION

Exchange rate

Number. Empty or unreadable: 1.

SUBTYPE

Rechnungstyp

Only for German invoices. Invoices: RECHNUNG, ABSCHLAGSRECHNUNG, TEILRECHNUNG or SCHLUSSRECHNUNG. Credit notes: GUTSCHRIFT or STORNORECHNUNG. Empty or invalid: RECHNUNG or GUTSCHRIFT.

name of an extra field

Extra field on the invoice

The column has the same name as the extra field.


Columns of the invoicelines and creditlines tabs


Column title

Field in Robaws

Explanation

NR

—

The number of the invoice or credit note from the NR column. Mandatory.

LINE_TYPE

Line type

Code from the table below. Empty or unknown: an ordinary line.

DESCRIPTION

Description

Line breaks are lost: the text ends up on one line.

EXTRADESCRIPTION

Extended description

Line breaks are lost here too.

AMOUNT

Quantity

Number.

UNITTYPE

Unit type

Name of the unit. An alternative name is converted to the unit itself. An unknown unit is copied as text.

PRICE

Price

Sale price per unit.

COSTPRICE

Cost price


CUSTOM_PRICE

Custom price

yes or no. Any other value, including off, turns the custom price on.

BTWTYPE

VAT tariff

Exact name of a VAT tariff, e.g. 20%. Unknown: empty, without a warning.

ACCOUNTANCY_CODE

Gl-account

Code of the GL account. If the code does not exist, it is created.

CHAPTER

Post

The post number.

ACTIVITY

Activity

Exact name, with the same capitals. If the activity does not exist, it is created.

PROJECTNR

Project

Project number of the line. Unknown: empty.

ARTICLENR

Item

Item number of an item that is already in Robaws. Robaws links the item, but does not copy its price and description: fill them in yourself. Unknown: empty, without a warning.

AGREEMENTTYPE

Type

Free text, e.g. SOG or FH.

MATERIALNR

Equipment

The barcode of the equipment. Unknown: empty.

INSTALLATIONNR

Installation

The barcode of the installation. Unknown: empty.

AMOUNT_RECEIVED

Received

Number. Only works if you allow received quantities to be changed manually in the supply order settings. Otherwise you get a warning and the value is ignored.

AMOUNT_INVOICED

Invoiced

Number. Only works if you allow invoiced quantities to be changed manually in the supply order settings. Otherwise you get a warning.


Codes for LINE_TYPE


Code

Line type

P

Line

H

Title

T

Total

A

Quantity

C

Check

V

Variant

O

Option (unit price)

OT

Option (total)

Tx

Text

H1 to H8

Chapter level 1 to 8


Write the code with the same capitals: tx becomes an ordinary line. You can read what each line type does in Working with line types and chapters.


Points of attention


  • Give every invoice and credit note its own number. Robaws does not block duplicate numbers and searches invoices and credit notes together. With a duplicate number, the lines go to the most recent document.
  • Write the name of the journal exactly. An unknown name in JOURNAL gives an error. The rest of that block of 100 rows is then not processed.
  • Fill in the abbreviation of the company in COMPANY. The company name does not work here, unlike for quotations and orders.
  • Fill in the due date yourself. Otherwise Robaws calculates it from the import day, also for old invoices.
  • Check the payments for the status paid. A new invoice can keep an outstanding balance, and an update can register the payment twice. See Status Paid and payments.
  • Import your items first. Robaws cannot yet find an item or equipment from the same file on the lines.
  • Check the customer numbers. An unknown number or a name with a different spelling leaves the customer empty, without a message. In an update, such a value erases the existing customer of the invoice.

Updated on: 27/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!