sales.InvoiceItem
: Sales invoice item¶
InvoiceItem(id, seqno, total_incl, total_base, total_vat, vat_class, unit_price, qty, product, description, discount, voucher, title)
name |
type |
verbose name |
id |
BigAutoField |
ID |
seqno |
IntegerField |
No. |
total_incl |
PriceField |
Total to pay |
total_base |
PriceField |
Total excl. VAT |
total_vat |
PriceField |
VAT |
vat_class |
ChoiceListField |
VAT class |
unit_price |
PriceField |
Unit price |
qty |
QuantityField |
Quantity |
product |
ForeignKey to Product |
Product |
description |
RichTextField |
Description |
discount |
PercentageField |
Discount |
voucher |
ForeignKey to VatProductInvoice |
Sales invoice |
title |
CharField |
Heading |
name_column |
VirtualField |
Name |
navigation_panel |
VirtualField |
(None) |
workflow_buttons |
VirtualField |
Workflow |
overview |
VirtualField |
(None) |
move_buttons |
VirtualField |
Move |
Master tables: sales.InvoiceItems : Sales invoice items
Referenced from
Database fields¶
Internal name |
Verbose name |
Help text |
---|---|---|
id |
ID |
|
seqno |
No. |
The sequence number of this item with its parent. |
total_incl |
Total to pay |
The amount VAT included. |
total_base |
Total excl. VAT |
The amount VAT excluded. |
total_vat |
VAT |
The amount of VAT. |
vat_class |
VAT class |
The VAT class to be applied for this item. A pointer to VatClasses. |
unit_price |
Unit price |
The unit price for this item. |
qty |
Quantity |
|
product |
Product |
|
description |
Description |
|
discount |
Discount |
|
voucher |
Sales invoice |
Pointer to the voucher which contains this item. Non nullable. The voucher must be a subclass of ledger.Voucher. The related_name must be “items”. |
title |
Heading |
The title of this voucher. |
name_column |
Name |
|
navigation_panel |
None |
|
workflow_buttons |
Workflow |
List of actions that change the workflow state of this object. |
overview |
None |
|
move_buttons |
Move |
Displays buttons for certain actions on this row: |