salesInvoiceDetails

Namespace: http://api.crunch.co.uk/rest
XML Schema: api.xsd

Represents finer detail attached to a sales invoice

XML

Elements

name (type) min/max
occurs
description
client (client) 0/1 The client for this invoice
clientReference (string) 0/1 A reference for this invoice for this client
lastModifiedDate (dateTime) 0/1 The last date in which this invoice was modified
issuedDate (dateTime) 0/1 The date in which this invoice was issued
issueDateType (string) 0/1 The issued date type, one of AUTOMATIC or MANUAL
dueDate (dateTime) 0/1 Due date for the invoice
settledDate (dateTime) 0/1 The date in which this invoice was settled
state (string) 0/1 The current invoice state (e.g. DRAFT, DUE)
invoiceNumber (string) 0/1 The invoice number assigned once the invoice was issued
paymentTermsDays (int) 0/1 The number of days the client has to pay
initialPaymentReminderDays (int) 0/1 The number of days to wait before a payment reminder is sent
repetitivePaymentReminderDays (int) 0/1 The frequency of days to remind the client to pay
emailReminderToCustomer (boolean) 0/1 Set whether to email a reminder to the client of this invoice
purchaseOrder (string) 0/1 The purchase invoice number of the invoice
euMemberStateCountryCode (string) 0/1
bankAccount (account) 0/1 The desired bank account in which to pay the invoice
paymentProcessingAccount (account) 0/1 The desired payment processing accouint in which to pay the invoice

JSON

property type description
client client (client) The client for this invoice
clientReference clientReference (string) A reference for this invoice for this client
lastModifiedDate lastModifiedDate (dateTime) The last date in which this invoice was modified
issuedDate issuedDate (dateTime) The date in which this invoice was issued
issueDateType issueDateType (string) The issued date type, one of AUTOMATIC or MANUAL
dueDate dueDate (dateTime) Due date for the invoice
settledDate settledDate (dateTime) The date in which this invoice was settled
state state (string) The current invoice state (e.g. DRAFT, DUE)
invoiceNumber invoiceNumber (string) The invoice number assigned once the invoice was issued
paymentTermsDays paymentTermsDays (int) The number of days the client has to pay
initialPaymentReminderDays initialPaymentReminderDays (int) The number of days to wait before a payment reminder is sent
repetitivePaymentReminderDays repetitivePaymentReminderDays (int) The frequency of days to remind the client to pay
emailReminderToCustomer emailReminderToCustomer (boolean) Set whether to email a reminder to the client of this invoice
purchaseOrder purchaseOrder (string) The purchase invoice number of the invoice
euMemberStateCountryCode euMemberStateCountryCode (string)
bankAccount bankAccount (account) The desired bank account in which to pay the invoice
paymentProcessingAccount paymentProcessingAccount (account) The desired payment processing accouint in which to pay the invoice