Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FieldTypeLengthUniqueRequiredFormatDescription
identifiervarchar80yesyes
Invoice ID
invoice_type_codevarchar255nono
Invoice type e.g. invoice, discount, credit...
issue_date_timetimestamp
noyesYYYY-MM-DD hh:mm:ssdate/time the invoice was issued
totalfloat8noyes
Total of amount invoiced. 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
statusvarchar20nono
e.g. paid/partly_paid
branchvarchar255noyes
Name/Code of the branch the invoice was issued
updated_aftertimestamp
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


Example CSV-File: invoices.csv