FlowmageDocs

Create invoice

BetaChanges data

Creates a sales invoice in Exact Online.

Settings

SettingWhat it is
ConnectionRequiredThe Exact Online connection the step signs in with.
DivisionLeave empty to use the administration the connection signed in to.
DebtorRequiredThe customer's account in Exact Online, by its ID.
Invoice numberLeave empty and Exact Online numbers the invoice itself.
LinesA list of the invoice's lines, from an earlier step.
JournalRequiredThe sales journal's code, as Exact Online has it (for example 70).
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `exact-online`)
divisiontext
debtortext or number
invoiceNumbertext or number
linesany JSON
journaltext or number

Output

FieldType
recordCreated invoiceobject
idThe new invoice's IDstring
Sample output, and the expression for each field
  • id""
  • record{}

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "debtor": "<debtor>",
    "division": "",
    "invoiceNumber": "",
    "journal": "<journal>"
  },
  "label": "Create invoice",
  "type": "exact.createInvoice",
  "version": 1
}