ZuloOne
English
Sign inTry it
Menu

AcquisitionCostAllocation

Updated

An invoice for the cost of bringing goods in — transport, customs, insurance, forwarding — spread over the lines of one or more goods receipts. Posting debits inventory and credits the supplier who billed it (631, 685), keeps the VAT of the invoice out of the cost, raises the cost of the goods still on hand and sends the part that falls on goods already issued to the cost of sales. How to use it is Add transport costs to the cost of goods.

Kind Document
Module Accounting
Menu General ledger → Operations → Acquisition costs

Fields#

Field Caption Points at
ID Number number sequence
LegalEntity Legal entity LegalEntity, required: the receipts must be of it
Supplier Supplier Supplier: who billed the cost; the debt is on this supplier
VendorDocumentNumber Supplier's document number string, 50
VendorDocumentDate Supplier's document date date
CostKind Kind of cost enum: transport, customs, insurance, forwarding, other
CostAmount Cost without VAT money, required: negative for a credit note
VatAmount VAT money: the same sign as the cost; not added to the cost
AllocationBase Allocate by enum CostAllocationBase: value, quantity, weight, volume; a new document takes Acquisition cost base of CostingSettings
PayableAccount Payable account ChartOfAccounts: the credit side; empty takes Acquisition costs payable account of AccountingSettings, else the payables account; posting writes it here
CostCentre Cost centre the cost centre dictionary: of the part that goes to the cost of sales
Project Project the project dictionary: of that part
StockAmount Added to stock money: total of the lines, worked out on posting
IssuedAmount To cost of sales money: total of the lines, worked out on posting
Description Description string, 256

The table parts are AcquisitionCostReceipts (the goods receipts) and AcquisitionCostLines (the allocation). ID comes from AcquisitionCostAllocationSeq: ACQ-{YYYY}- and six digits.

Commands and states#

State Command What happens
Draft Fill from receipts The lines are read from the receipts: item, quantity, value at the receipt, weight from the item card; weights and volumes typed before stay.
Draft Allocate The cost is spread over the lines by Allocate by, to the cent; nothing is posted.
Draft Post Posted.
Posted Cancel Draft again.

Fill from receipts (FillAcquisitionCostLines), Allocate (CalculateAcquisitionCost) and Post (PostAcquisitionCost) are bound to Draft, Cancel (CancelAcquisitionCost) to Posted, which is read-only. All of them are the service AcquisitionCosts.

Post refuses, with a message, a document without a legal entity, with a zero cost, with a VAT of the other sign, without receipts or lines, with a receipt that is not received, of another legal entity or without a cost layer, with a base that is zero on every line, dated in a closed month or outside every fiscal period, or whose accounts are not set: Inventory account, the payable account, VAT receivable account when there is VAT, and the cost of sales account when part of the cost fell on goods issued. It reads the lines of the receipts again, so a receipt that changed since the fill is noticed.

Cancel is refused in a closed month, and when goods were issued from the layers the document renewed, or a later document renewed them again.

Registers#

On Posted:

  • AcquisitionCostGLTx writes GL: Dr inventory / Cr payable with the supplier, the cost; Dr VAT receivable account / Cr payable, the VAT; Dr cost of sales / Cr inventory, the part on goods issued, with the cost centre and project. A negative amount is the same entries the other way round.
  • AcquisitionCostPayableTx writes Payable and PayableByBasis on the supplier, cost and VAT.
  • AcquisitionCostRegisterTx writes ItemRevaluation: per item, the part of the shares that fell on units still on hand.
  • After the post, the document renews the cost layers of those items, ItemCostFifo and InventoryValue, by that part.

Used by#

Where next#

Was this page helpful?