sales.VatProductInvoice : Sales invoice

VatProductInvoice(id, user, journal, entry_date, voucher_date, accounting_period, number, narration, voucher_ptr, printed_by, partner, payment_term, payment_method, your_ref, due_date, match, total_incl, total_base, total_vat, state, vat_regime, items_edited, language, subject, intro, paper_type)

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

printed_by

ForeignKey to Excerpt

Printed

partner

ForeignKey to Partner

Partner

payment_term

ForeignKey to PaymentTerm

Payment term

payment_method

ForeignKey to PaymentMethod

Payment method

your_ref

CharField

Your reference

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

language

LanguageField

Language

subject

CharField

Subject line

intro

TextField

Introductive Text

paper_type

ForeignKey to PaperType

Paper type

balance_to_pay

VirtualField

Balance to pay

balance_before

VirtualField

Balance before

name_column

VirtualField

Name

navigation_panel

VirtualField

(None)

workflow_buttons

VirtualField

Workflow

overview

VirtualField

(None)

number_with_year

VirtualField

No.

printed

VirtualField

Printed

Master tables: sales.Invoices : Sales invoices, sales.DueInvoices : Due invoices, sales.DocumentsToSign : Sales 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 sales.InvoiceItem.voucher, shopping.Cart.invoice

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

printed_by

Printed

ForeignKey to the Excerpt which certifies this instance.

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

your_ref

Your reference

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.

language

Language

subject

Subject line

intro

Introductive Text

paper_type

Paper type

balance_to_pay

Balance to pay

balance_before

Balance before

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”.

printed

Printed

Displays information about when this certifiable has been printed. Clicking on it will display the excerpt pointed to by printed_by.