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

Importing subscriptions

With the import template you load subscriptions into Robaws in one go, for example your maintenance contracts from your previous software. You can let each subscription start from an existing subscription or a subscription template. You fill in the subscription lines on a separate lines tab. First read the general explanation about the import.


Quick navigation:


Tabs for subscriptions


Tab

Content

Reference to the subscription

subscription

The details at the top of the subscription: customer, recurrence, journal ... One row per subscription. Note: the name of the tab is singular.

—

subscriptionlines

The subscription lines. One row per line.

NR


You link the lines to the subscription with the NR column. Give every subscription on the 'subscription' tab a number and fill in the same number on the 'subscriptionlines' tab. Robaws looks up the subscription by that number, including a subscription that was already in Robaws before the import. If several subscriptions have the same number, the lines go to the most recently created subscription. If Robaws does not find a subscription, you get a warning and the line is not added.


You link the subscription 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.


For the endcustomer you work in the same way with ENDCLIENTNR, ENDCLIENTNAME or ENDCLIENTID. If Robaws does not find the customer, the field stays empty, without a warning. At the top of the subscription there is no column for the project: you link a project per line with PROJECTNR.


Importing subscriptions


  1. Make sure the customers are in Robaws, or put them on the 'clients' tab of the same file. Items and equipment may also be in the same file: Robaws processes those before the subscriptions.
  2. Fill in the 'subscription' tab. Use one row per subscription and give every subscription a unique number in NR. Fill in ACTIVE with yes if the subscription has to run straight away.
  3. Fill in the 'subscriptionlines' tab. Use one row per line and fill in the number of the subscription in the NR column.
  4. Import the file. Go to Settings > Import, click Import and choose your file. Then check the report.


Example: we import an annual maintenance contract for customer K1002. Every year the subscription creates an invoice with one line.


'subscription' tab:


NR

CLIENTNR

TYPE

PERIODICITY

NEXT

ACTIVE

AI-0001

K1002

Factuur

Yearly

01/03/2026

yes


'subscriptionlines' tab:


NR

DESCRIPTION

AMOUNT

UNITTYPE

PRICE

BTWTYPE

AI-0001

Annual heat pump service

1

pc

185

20%


After the import, subscription AI-0001 is active in the subscription overview, with 1 March 2026 as the next execution.


Starting from an existing subscription (USE_TEMPLATE_ID)


With the USE_TEMPLATE_ID column you let a new subscription start from a copy of an existing subscription. Fill in the ID of that subscription. You find it in the 'Id' column of the Excel export of the subscription overview. If you want to start from a subscription template, you need the ID of the subscription behind that template, not the ID of the template itself.


With USE_TEMPLATE_ID, the following happens:

  • Robaws copies all details, lines, extra fields, documents and tasks of the subscription.
  • The new subscription gets an automatic number and the numbering moves up. If you also fill in NR, that number replaces the automatic number.
  • The user who runs the import becomes the assignee. The status is the initial status of the source subscription.
  • The columns you fill in on the row overwrite the copied values.
  • The lines of the 'subscriptionlines' tab are added on top of the copied lines.


An ID that does not exist or is not a number gives an error. The rest of that block of 100 rows is then not processed.


Updating subscriptions


You cannot update existing subscriptions via the import. Every row on the 'subscription' tab creates a new subscription, even if the number already exists. An UPDATE_BY column gives the error 'Invalid column'. So change existing subscriptions manually, or use a bulk edit in the overview.


Columns of the subscription tab


Column title

Field in Robaws

Explanation

USE_TEMPLATE_ID

—

The ID of the subscription you start from. See Starting from an existing subscription.

NR

Number

Without USE_TEMPLATE_ID: always fill it in, because Robaws then does not give the subscription an automatic number.

DATE

Date

Date.

CLIENTNR, CLIENTNAME or CLIENTID

Customer

See Tabs for subscriptions. Unknown: empty, without a warning.

ENDCLIENTNR, ENDCLIENTNAME or ENDCLIENTID

Endcustomer

As for the customer.

REF

Customer reference


STATUS

Status

Write the status exactly as in your subscription settings. Robaws does not check the value. Empty without USE_TEMPLATE_ID: the subscription gets no status.

REMARK

Remark


TYPE

Type

Order or Factuur (invoice), with a capital letter. Any other value becomes Factuur.

PERIODICITY

Recurrence rule

Exact name of a recurring period from Settings > Subscriptions > Master data, e.g. Monthly or Yearly. Mind the capitals. Unknown: the subscription gets no recurrence.

NEXT

Next execution

Date.

DEADLINE

Last execution

The date on which the subscription is executed for the last time.

ACTIVE

Active

yes or no. Any other value makes the subscription active. Empty without USE_TEMPLATE_ID: the subscription is not active.

COMPANY

Company

The abbreviation of the company, not the name. Unknown or empty: the default company.

DIARY

Journal

Exact name of a sales journal of that company. Empty: the first suitable sales journal in alphabetical order. An unknown name gives an error.

name of an extra field

Extra field on the subscription

The column has the same name as the extra field.


Columns of the subscriptionlines tab


Column title

Field in Robaws

Explanation

NR

—

The number of the subscription from the NR column of the 'subscription' tab. 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. An item from the 'articles' tab in the same file is found as well. 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


  • Fill in ACTIVE with yes. A new subscription without USE_TEMPLATE_ID and with an empty cell in ACTIVE is not active and is therefore not executed.
  • Write PERIODICITY exactly as in your settings. A different spelling, including different capitals, leaves the subscription without recurrence.
  • Fill in the number yourself if you do not use USE_TEMPLATE_ID. The subscription then gets no automatic number, no status and no assignee.
  • Leave out the lines that are already in the source subscription. With USE_TEMPLATE_ID, the lines of 'subscriptionlines' are added on top of the copied lines.
  • Write the name of the journal exactly. An unknown name in DIARY gives an error. The rest of that block of 100 rows is then not processed.
  • Use every number only once. Robaws does not block duplicate numbers. The lines then all go to the most recent subscription with that number.
  • Import a file only once. An update is not possible: a second import creates all subscriptions again.

Updated on: 27/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!