CreateInvoiceInput

CreateInvoiceInput

Input Fields

ref (String!)

External reference to the Invoice. Must be unique.
Max character limit: 100.

type (String!)

Type of the Invoice, typically used by the Orchestration Engine to determine the workflow that should be applied.
Max character limit: 50.

attributes ([AttributeInput])

A list of attributes associated with the Invoice. This can be used to extend the existing data structure with additional data.

billingAccount (BillingAccountKey!)

The BillingAccount associated with the Invoice.

order (OrderLinkInput)

Reference to the Order associated with this Invoice.

fulfilment (FulfilmentLinkInput)

Reference to the Fulfilment associated with this Invoice.

items ([CreateInvoiceItemWithInvoiceInput])

The InvoiceItems associated with this Invoice.

issueDate (DateTime!)

Issue date of the Invoice

dueDate (DateTime)

Due date of the Invoice

currency (CurrencyKey!)

Reference to the Currency The default Tax Type for this invoice. Individual invoice items can override.

defaultTaxType (TaxTypeInput!)

Default tax type

subTotalAmount (AmountTypeInput!)

The total amount of this invoice excluding tax.

totalTax (AmountTypeInput!)

The total amount of tax for this invoice

totalAmount (AmountTypeInput!)

The total amount of this invoice including tax

totalBalance (AmountTypeInput!)

The total amount of this invoice yet to be paid. (This caters for multi-part payments and payment milestones)