CANONICAL TYPE REFERENCE
CreateInvoiceInput
Input for creating a new invoice
invoiceNumberString!Invoice number (required)
Type of invoice document (required)
Associated order ID
Customer ID (required)
Contact person ID
Billing address ID
Invoice status
Issue date (ISO8601)
Due date (ISO8601)
Payment date (ISO8601)
subtotalAmountFloat!Subtotal amount before tax
taxAmountFloat!Tax amount
totalAmountFloat!Total amount including tax
paidAmountFloatAmount paid so far
Currency code (required)
taxRateFloatTax rate percentage
ID of the invoice this credit note applies to
paymentTermsStringPayment terms
paymentMethodStringPayment method
paymentReferenceStringPayment reference
notesStringNotes visible to the customer
internalNotesStringInternal notes
Document attachments for the new invoice.
View exact SDL
"""Input for creating a new invoice"""
input CreateInvoiceInput {
"""Invoice number (required)"""
invoiceNumber: String!
"""Type of invoice document (required)"""
kind: InvoiceKind!
"""Associated order ID"""
orderId: OrderID
"""Customer ID (required)"""
customerId: CustomerID!
"""Contact person ID"""
contactId: ContactID
"""Billing address ID"""
billingAddressId: AddressID
"""Invoice status"""
status: InvoiceStatus
"""Issue date (ISO8601)"""
issueDate: ISO8601!
"""Due date (ISO8601)"""
dueDate: ISO8601
"""Payment date (ISO8601)"""
paidAt: ISO8601
"""Subtotal amount before tax"""
subtotalAmount: Float!
"""Tax amount"""
taxAmount: Float!
"""Total amount including tax"""
totalAmount: Float!
"""Amount paid so far"""
paidAmount: Float
"""Currency code (required)"""
currency: CurrencyISO!
"""Tax rate percentage"""
taxRate: Float
"""ID of the invoice this credit note applies to"""
creditedInvoiceId: InvoiceID
"""Payment terms"""
paymentTerms: String
"""Payment method"""
paymentMethod: String
"""Payment reference"""
paymentReference: String
"""Notes visible to the customer"""
notes: String
"""Internal notes"""
internalNotes: String
"""Document attachments for the new invoice."""
attachments: [InvoiceFileAttachmentInput!]
}One stable address across all schema views. Follow a field’s type to explore connections between domains.