SupplierInvoice
Updated
A supplier invoice is the supplier's own paper. Receipt already recognised payable at order prices. This document posts only the difference between what the supplier billed and what those receipts accrued.
| Kind | Document |
| Module | Purchasing |
| Menu | Purchasing → Documents → Supplier invoices |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
Number | number sequence |
Supplier |
Supplier | Supplier |
LegalEntity |
Legal entity | LegalEntity |
SupplierNumber |
Supplier's number | string |
InvoiceDate |
Supplier's date | date |
DueDate |
Due date | date |
PaymentTerm |
Payment term | PaymentTerm |
TaxRateApplied |
Tax rate | decimal |
Contract |
Supplier contract | SupplierContract |
MatchedAmount |
Accrued by receipts | decimal |
Difference |
Difference | decimal |
ExchangeRate |
Exchange rate | decimal |
Supplier is required. Supplier's number is required by Register, not by save. Empty Supplier's date uses the document date. Register stamps Accrued by receipts and Difference. ExchangeRate is stamped on post.
Table parts#
Lines#
SupplierInvoiceLines, caption Lines.
| Field | Caption | Points at |
|---|---|---|
Item |
Item | Item |
Quantity |
Quantity | decimal |
UnitPrice |
Unit price | money |
Amount |
Amount | money |
Unit |
Unit | UnitOfMeasure |
BaseQuantity |
Qty in base unit | decimal |
PackQty |
Packages | decimal |
PackUnit |
Package unit | UnitOfMeasure |
TaxCode |
VAT rate | TaxCode |
TaxAmount |
VAT amount | money |
Item, Quantity, and UnitPrice are required. BaseQuantity is hidden. It is filled on save from Quantity and Unit.
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Register | Registered. Stamps matched amount and difference, then posts the difference to payable. |
Register (RegisterSupplierInvoice) is bound to Draft only. Registered is read-only. The stored captions match the names: Draft, Registered. The declared transition is Draft to Registered.
Enter supplier invoice lives on PurchaseOrder, not on this card. It drafts an invoice from a Received order and copies supplier, dates, payment term, contract, and the lines not invoiced yet.
Registers#
On Registered, SupplierInvoicePayableTx adds the gross difference to Payable for the supplier, and for the supplier contract when the header has one. A zero difference writes nothing. SupplierInvoiceGLTx books the net difference as purchase price variance when a variance account is set. Input tax on a non-zero difference is a TaxCalculation, not a stock correction.