Description
For representing Invoices, Receipts (Purchases) and Quotes.
Parameters
InvoiceDBID
Integer
Integer
The system-wide, unique ID number for this document (immutable)
InvoiceNumber
Unsigned Integer
Unsigned Integer
The document number, must be unique for the KashFlow account for this document-type
InvoiceDate
DateTime
DateTime
The issue date for the document in the ISO 8601 format of yyyy-mm-ddTHH:MM:SS
DueDate
DateTime
DateTime
The due date for the document in the ISO 8601 format of yyyy-mm-ddTHH:MM:SS . For Quotes this is always 0001-01-01T00:00:00
SuppressTotal
Integer
Integer
If the document is a Quote and the total is to be hidden then 1, else 0
ProjectID
Integer
Integer
If a Project is associated with the document then the ProjectID, else 0
CurrencyCode
String
String
The currency code in the ISO 4217 standard
ExchangeRate
Decimal
Decimal
The exchange rate for the defined currency
Paid
Integer
Integer
If the document is an Invoice or Receipt and is completely paid then 1, else 0
CustomerID
Integer
Integer
If an Invoice or Quote then the CustomerID, else the SupplierID
CustomerReference
String
String
A string of free-text
EstimateCategory
String
String
If a Quote then it’s category (read-only)
NetAmount
Decimal
Decimal
The sum of the net value for all documents lines (read-only)
VatAmount
Decimal
Decimal
The sum of the VAT value for all documents lines (read-only)
AmountPaid
Decimal
Decimal
If the document is an Invoice or Purchase then the sum of all the payments made to it(read-only)
Permalink
String
String
A permanent link to access a PDF of the document (read-only)
UseCustomDeliveryAddress
boolean
boolean
If the document is a Quote or Invoice and a Delivery Address is defined to be used then true, else false
DeliveryAddress
DeliveryAddress
DeliveryAddress
An object of type DeliveryAddress
Lines
Array of InvoiceLine
Array of InvoiceLine
An array of type InvoiceLine