Versions Compared

Key

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

...

FieldTypeLengthUniqueRequiredFormatDescription
identifiervarchar80yesyes
Invoice line ID

invoice_id

varchar80yesnoyestable: invoices, field:identifierInvoice ID the invoice line belongs to
quantityfloat8noyes
Quantity of products. Discounts and credits should be negative
line_amountfloat8noyes
Price invoiced. 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 price of product
is_unit_price_inc_taxboolean
nonotrue/falseIs Tax included in unit price. This should always be true
notesvarchar255nono
invoice line description/product description
staff_codevarchar80noyes
Name/Code of the vet
patient_idvarchar255noyes
table: patients, field: identifierID of the patient
product_idvarchar20noyestable: products, field:identifierID of the invoice product

...