Skip to content

UpsertInvoiceInput ​

Type: Input

Input for creating or updating an invoice

Fields ​

NameTypeDefaultDescription
attachments[InvoiceFileAttachmentInput!]Document attachments. When provided, replaces existing attachments on the invoice.
billingAddressIdAddressIDBilling address ID
contactIdContactIDContact person ID
creditedInvoiceIdInvoiceIDID of the invoice this credit note applies to
currencyCurrencyISO!Currency code (required)
customerIdCustomerID!Customer ID (required)
dueDateISO8601Due date (ISO8601)
idInvoiceIDID for update; omit for create
internalNotesStringInternal notes
invoiceNumberString!Invoice number (required)
issueDateISO8601!Issue date (ISO8601)
kindInvoiceKind!Type of invoice document (required)
notesStringNotes visible to the customer
orderIdOrderIDAssociated order ID
paidAmountFloatAmount paid so far
paidAtISO8601Payment date (ISO8601)
paymentMethodStringPayment method
paymentReferenceStringPayment reference
paymentTermsStringPayment terms
statusInvoiceStatusInvoice status
subtotalAmountFloat!Subtotal amount before tax
taxAmountFloat!Tax amount
taxRateFloatTax rate percentage
totalAmountFloat!Total amount including tax

Connect machines, automate workflows, and build custom apps for print production.