Versions Compared

Key

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

...

FieldTypeLengthUniqueRequiredFormatDescription
identifiervarchar80yesyes
Invoice line ID - the unique identifier of the invoice line. This is required for incremental updates.

invoice_id

varchar80noyestable: invoices, field:identifierInvoice ID the invoice line belongs to - joins to the unique identifier of invoices
quantityfloat8noyes
Quantity of products. Discounts and credits should be negative
line_amountfloat8noyes
Price invoicedincluding sales tax. Discounts and credits should be negative
is_line_amount_inc_taxboolean
noyestrue/falseIs Tax included in price. This should always be true
unit_pricefloat8nono

Unit cost price of product inclusive of sales tax(optional if system records cost prices of items)
is_unit_price_inc_taxboolean
nonotrue/falseIs Tax included in unit price. This should always be true
notesvarchar255nono
invoice line description/product description/product name
staff_codevarchar80noyes
Name/Code of the vetstaff member who is responsible for invoicing the item
patient_idvarchar255noyes
table: patients, field: identifierID of the patient (veterinary systems only)
product_idvarchar20noyestable: products, field:identifierID of the invoice productproduct - joins to the unique identifier of Products


Example CSV-File: invoice_lines.csv