vat.VatAccountInvoice
: Invoice¶
VatAccountInvoice(id, user, journal, entry_date, voucher_date, accounting_period, number, narration, voucher_ptr, partner, payment_term, payment_method, due_date, match, total_incl, total_base, total_vat, state, vat_regime, items_edited, your_ref)
name |
type |
verbose name |
id |
BigAutoField |
ID |
user |
ForeignKey to User |
Author |
journal |
ForeignKey to Journal |
Journal |
entry_date |
DateField |
Entry date |
voucher_date |
DateField |
Voucher date |
accounting_period |
ForeignKey to AccountingPeriod |
Accounting period |
number |
IntegerField |
No. |
narration |
CharField |
Narration |
voucher_ptr |
OneToOneField to Voucher |
Voucher |
partner |
ForeignKey to Partner |
Partner |
payment_term |
ForeignKey to PaymentTerm |
Payment term |
payment_method |
ForeignKey to PaymentMethod |
Payment method |
due_date |
DateField |
Due date |
match |
CharField |
Match |
total_incl |
PriceField |
Total to pay |
total_base |
PriceField |
Total excl. VAT |
total_vat |
PriceField |
VAT |
state |
ChoiceListField |
Voucher state |
vat_regime |
ChoiceListField |
VAT regime |
items_edited |
BooleanField |
items edited |
your_ref |
CharField |
Provider’s invoice number |
name_column |
VirtualField |
Name |
navigation_panel |
VirtualField |
(None) |
workflow_buttons |
VirtualField |
Workflow |
overview |
VirtualField |
(None) |
number_with_year |
VirtualField |
No. |
Master tables: vat.Invoices : Invoices
Slave tables: ledger.MovementsByVoucher : Movements, sales.ItemsByInvoice : Content, sales.ItemsByInvoicePrint : Content, sales.ItemsByInvoicePrintNoQtyColumn : Content, finan.ItemsByJournalEntry : Content, finan.ItemsByBankStatement : Content, finan.ItemsByPaymentOrder : Content, vat.ItemsByInvoice : Content, vat.MovementsByVoucher : Movements, vat.MovementsByDeclaration : Declared movements, vat.SalesByDeclaration : VAT sales, vat.PurchasesByDeclaration : VAT purchases
Referenced from vat.InvoiceItem.voucher
Database fields¶
Internal name |
Verbose name |
Help text |
---|---|---|
id |
ID |
|
user |
Author |
The author of this object. A pointer to lino.modlib.users.models.User. |
journal |
Journal |
The journal into which this voucher has been booked. This is a mandatory pointer to a Journal instance. |
entry_date |
Entry date |
The date of the journal entry, i.e. when this voucher is to journalized or booked. |
voucher_date |
Voucher date |
The date on the voucher (i.e. when it has been issued by its emitter). |
accounting_period |
Accounting period |
The accounting period to use when booking this voucher. The default value is determined from entry_date. |
number |
No. |
The sequence number of this voucher in the journal. |
narration |
Narration |
A short explanation which ascertains the subject matter of this journal entry. |
voucher_ptr |
Voucher |
|
partner |
Partner |
Mandatory field to be defined in the implementing class. |
payment_term |
Payment term |
See lino_xl.lib.ledger.mixins.PartnerRelated.payment_term |
payment_method |
Payment method |
|
due_date |
Due date |
|
match |
Match |
The movement to be matched. |
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. |
state |
Voucher state |
The workflow state field. |
vat_regime |
VAT regime |
The VAT regime to be used in this document. |
items_edited |
items edited |
An automatically managed boolean field which says whether the user has manually edited the items of this document. If this is False and edit_totals is True, Lino will automatically update the only invoice item according to partner and vat_regime and total_incl. |
your_ref |
Provider’s invoice number |
|
name_column |
Name |
|
navigation_panel |
None |
|
workflow_buttons |
Workflow |
List of actions that change the workflow state of this object. |
overview |
None |
|
number_with_year |
No. |
A text like „2019-12“. |