Tenant / Invoices

invoiceMerge

Merge draft invoices of one client, business unit and currency into the draft with the earliest period; the other drafts are removed.

Arguments

ids[ID!]!

IDs of the draft invoices to merge.

Returns

createdAtDateTimeTz!

When the invoice was created.

dueAtDate

Due at

idID!

Unique primary key.

issueCountInt!

Blocked charges of this client and business unit whose billing period overlaps the invoice period; they are missing from the invoice until resolved.

numberString

Invoice number

periodEndAtDate

Last day of the billing period this invoice covers.

periodStartAtDate

First day of the billing period this invoice covers.

referenceString

Order / invoice reference

sentAtDate

Sent at

Status of the invoice

CONCEPTDRAFTOPENORDERPAIDPENDING
updatedAtDateTimeTz!

When the invoice was last updated.

field[String!]
messageString!