Invoices - Datasource

FieldTypeLengthUniqueRequiredFormatDescription
identifiervarchar80yesyes
Invoice ID. This should preferably be the invoice number of the invoice as displayed on a printed invoice that is produced for tax purposes.  
invoice_type_codevarchar255nono
Invoice type e.g. invoice, discount, credit...
issue_date_timetimestamp
noyesYYYY-MM-DD hh:mm:ssdate/time the invoice was issued. This should be the date that is produced on a printed invoice for tax purposes.
totalfloat8noyes
Total of amount invoiced including sales tax. Discounts and credits should be negative
tax_totalfloat8noyes
Total amount of tax. Discounts and credits should be negative
clientvarchar255noyestable: clients, field: identifierClient ID of the client the invoice is issued to. This should be the unique identifier of the client/customer
statusvarchar20nono
e.g. paid/partly_paid. If partly paid invoices are included in the supplied data then all invoices must be flagged as paid/partly paid. As an alternative it is acceptable to supply only fully paid or finalised invoices
branchvarchar255noyes
Name/Code/ID of the branch/location/job/department the invoice was issued if the system supports different locations, branches, jobs or departments.
updated_after/date_modifiedtimestamp
nooptional if data is to be collected incrementallyYYYY-MM-DD hh:mm:ssIf data is to be collected incrementally, and updates or edits to either invoice header and invoice line needs to be flagged with a timestamp indicating the most recent 'last modified' date

Example CSV-File: invoices.csv