How operations post to the general ledger

Every receipt, shipment, invoice and payment, and the journal it creates.

Baca dalam Bahasa Indonesia

On this page
  1. How Voltrus picks the accounts
  2. The running example
  3. Purchase order: no journal
  4. Goods receipt
  5. Supplier bill
  6. Supplier payment
  7. Shipment to the customer
  8. Customer invoice
  9. Customer down payment
  10. Customer receipt
  11. Where the example ends up
  12. Inventory events
  13. Production events
  14. Fixed assets and month-end events
  15. In Voltrus
  16. Checklist

In a spreadsheet company, the accountant learns about a purchase when the invoice lands on the desk, often weeks after the goods arrived, and types it into the ledger by hand. In an ERP, the warehouse, sales and purchasing teams are doing the bookkeeping: each document they post creates its journal at the moment the event happens. This is called integration between logistics and finance, and in SAP terms it is "account determination". It is why an ERP's balance sheet is current every day, not once a month.

This article goes through every event in Voltrus that posts to the general ledger, with the journal it creates. Read it once end to end; come back to it whenever a balance surprises you.

How Voltrus picks the accounts

Documents do not name accounts directly. Each journal line uses a mapping key (inventory, grni, ar, ap, revenue, tax_payable, vat_input…) and each key points to an account in your chart. The defaults are listed in The chart of accounts; you can point a key at a different account in Settings → Access & integrations, card Finance, under Account mapping.

Three rules hold for every journal below:

  • It is dated with the document's date, in the company's timezone, and is rejected if that month is closed.
  • It is in Rupiah. Foreign-currency documents are converted at the transaction rate for that date, and the difference when they settle goes to FX Gain/Loss (see Foreign currency and revaluation).
  • It is read-only. You correct it through the document: a return, a credit note, a reversing payment.

Cost centre and project, when set on the document, are stamped on the income statement and inventory lines (see Cost centres, projects and budgets).

The running example

PT Contoh trades aluminium sheet. In one month it:

  1. orders 100 sheets from a supplier at Rp 50,000 (PO total Rp 5,000,000);
  2. receives all 100;
  3. receives the supplier's bill with 11% PPN;
  4. pays the supplier;
  5. sells 50 sheets to a customer at Rp 120,000 (Rp 6,000,000) and ships them;
  6. invoices the customer with 11% PPN;
  7. collects the money.

Inventory uses moving average cost, the Voltrus default, so each sheet costs Rp 50,000.

Purchase order: no journal

Approving a purchase order is a commitment, not an accounting event. Nothing has been received and nothing is owed yet, so nothing posts. (If budget control is on, approving checks the PO against the budget; see Purchase orders and approval.)

Goods receipt

The warehouse posts the receipt. Stock goes up, and so does a liability for goods you now owe for but have not been billed for: Goods Received Not Invoiced (GRNI).

AccountDebitCredit
1-1300 Inventory5,000,000
2-1300 Goods Received Not Invoiced5,000,000

Variants:

  • Freight on the PO. Each receipt takes its share of the PO's freight, so inventory is valued at landed cost and GRNI rises by the same amount. See Freight, landed cost and supplier returns.
  • Standard costing. Inventory is debited at the item's standard cost; the difference between standard and actual goes to 5-9000 Cost Variance (a purchase price variance).
  • Supplier return. Returning goods posts the same lines with debit and credit swapped, at the cost the goods carried.
  • Quality hold. If a quality plan applies, the stock goes to the hold warehouse first. The journal is the same; only the warehouse differs.

Supplier bill

The bill from a purchase order clears GRNI at the value the receipts booked and creates the payable. Input PPN is debited to 1-1520 Input VAT (PPN Masukan): an asset, a claim you offset against the output PPN you owe the state.

AccountDebitCredit
2-1300 Goods Received Not Invoiced5,000,000
1-1520 Input VAT (PPN Masukan)550,000
2-1100 Accounts Payable5,550,000

GRNI for this PO is now zero, which is exactly what you want: an open GRNI balance always means goods received and not yet billed.

Variants:

  • Price difference. If the supplier bills Rp 5,100,000 instead of 5,000,000 (within the price tolerance of the three-way match), GRNI is still cleared at Rp 5,000,000 (billed quantity × the order's cost) and the extra Rp 100,000 is debited to Cost Variance, so GRNI never keeps a price difference. Only lines that carry the item are compared with the order; a description-only line on the bill clears GRNI at its own amount.
  • Foreign currency. GRNI is cleared at the receipts' rates and AP is booked at the bill's rate; the gap goes to FX Gain/Loss.
  • Withholding tax. On services, the bill credits the PPh payable and books AP net. A subcontractor bill of Rp 10,000,000 with PPN and 2% PPh 23:
AccountDebitCredit
2-1300 Goods Received Not Invoiced10,000,000
1-1520 Input VAT (PPN Masukan)1,100,000
2-1310 PPh 23 Payable200,000
2-1100 Accounts Payable10,900,000
  • Freight billed by a forwarder. The receipts accrued the PO's freight to GRNI with the goods. The forwarder's bill, linked to the PO as a freight bill, clears that accrual: Dr GRNI / Dr Input VAT / Cr Accounts Payable, with any difference to Cost Variance. Voltrus refuses a freight bill once nothing is left to clear.
  • Bill without a purchase order. There is no GRNI to clear. Each line that names a GL account debits that account (rent, electricity, professional fees); lines without one debit Inventory, which is right for stock bought without a PO. Rent of Rp 8,000,000 with PPN:
AccountDebitCredit
Rent expense8,000,000
1-1520 Input VAT (PPN Masukan)880,000
2-1100 Accounts Payable8,880,000

Supplier payment

Paying settles the payable. The bank line uses the bank account chosen on the payment (a GL asset account), or 1-1000 Cash & Bank if none was chosen.

AccountDebitCredit
2-1100 Accounts Payable5,550,000
1-1000 Cash & Bank5,550,000

A foreign-currency payment posts a second, small journal for the realised exchange difference between the bill's rate and the payment's rate.

Shipment to the customer

Shipping the sales order is the moment the customer receives the goods, so Voltrus recognises the sale here (see Accrual vs cash accounting). Two things happen in one journal: the stock leaves at cost, and revenue is recognised at the order's net price against Unbilled Receivables, because the customer has not been invoiced yet.

AccountDebitCredit
5-1000 Cost of Goods Sold2,500,000
1-1300 Inventory2,500,000
1-1150 Unbilled Receivables6,000,000
4-1000 Sales Revenue6,000,000

Cost of goods sold is 50 sheets × Rp 50,000. The gross margin for the month is already visible: Rp 6,000,000 − Rp 2,500,000 = Rp 3,500,000.

Customer invoice

The invoice moves the receivable from "unbilled" to "billed" and adds the output PPN that the customer owes you and you owe the state.

AccountDebitCredit
1-1100 Accounts Receivable6,660,000
1-1150 Unbilled Receivables6,000,000
2-1200 Tax Payable (output PPN)660,000

Variants:

  • Price changed on the invoice. The difference against what the shipment booked is posted to Sales Revenue (up or down).
  • Charges. Freight, packing or insurance charged on the order credit 4-2000 Other Income. Costs passed on at cost, outside the tax base, credit 1-1600 Reimbursable Costs.
  • Invoice not from a sales order. With no shipment behind it, the invoice credits Sales Revenue directly: Dr AR / Cr Revenue / Cr Tax Payable.
  • Credit note. The original invoice's journal is reversed, in full or in proportion.

Customer down payment

A down payment (uang muka) is invoiced before delivery. It is a liability, not revenue, because you still owe the goods. Invoicing a 10% down payment on a Rp 100,000,000 order:

AccountDebitCredit
1-1100 Accounts Receivable11,100,000
2-1400 Customer Advances10,000,000
2-1200 Tax Payable (output PPN)1,100,000

When the goods ship (Rp 100,000,000 to Unbilled Receivables and Revenue, as above), the final invoice deducts the advance and charges PPN only on the remainder:

AccountDebitCredit
1-1100 Accounts Receivable99,900,000
2-1400 Customer Advances10,000,000
1-1150 Unbilled Receivables100,000,000
2-1200 Tax Payable (output PPN)9,900,000

Customer receipt

Collecting the money settles the receivable.

AccountDebitCredit
1-1000 Cash & Bank6,660,000
1-1100 Accounts Receivable6,660,000

Variants:

  • The customer withheld PPh 23 (on a service invoice of Rp 10,000,000 + PPN): the bank receives less, and the withheld tax becomes a prepaid tax you credit against your own income tax.
AccountDebitCredit
1-1000 Cash & Bank10,900,000
1-1510 Prepaid PPh 23200,000
1-1100 Accounts Receivable11,100,000
  • Money on account. Money received before you know which invoices it pays goes to 2-1250 Unapplied Receipts; applying it later moves it to AR. See Accounts receivable and payable.
  • Refunds post the same lines with sides swapped.

Where the example ends up

After the seven steps, PT Contoh's ledger shows:

AccountBalance
Inventory2,500,000 Dr
GRNI, Unbilled Receivables, AR, AP0
Tax Payable (output PPN)660,000 Cr
Input VAT (PPN Masukan)550,000 Dr
Cash & Bank1,110,000 Dr (6,660,000 in − 5,550,000 out)
Sales Revenue6,000,000 Cr
Cost of Goods Sold2,500,000 Dr

Every clearing account is back to zero, the stock left on the shelf (50 sheets) is worth exactly what the ledger says, and the PPN owed for the month is the Rp 110,000 difference between output and input. Nobody typed a journal.

Inventory events

Stock adjustment and scrap. A positive adjustment debits Inventory and credits 5-9000 Cost Variance; a negative one or a scrap does the reverse. If the adjustment uses a reason code with its own account (for example "Damaged in storage"), that account replaces Cost Variance. Posted stock counts create the same adjustment journals for each difference. See Transfers, stock counts and cycle counting.

AccountDebitCredit
5-9000 Cost Variance150,000
1-1300 Inventory150,000

Transfers between warehouses post no journal: the stock stays in the same Inventory account, only its location changes.

Customer returns create a numbered return document (RET/…) and up to three effects. The goods come back at the cost they shipped at (Dr Inventory / Cr Cost of Goods Sold). Quantity that was shipped but not yet invoiced comes off Unbilled Receivables (Dr Sales Revenue / Cr Unbilled Receivables) and will not be invoiced. Quantity already invoiced gets a draft credit note; issuing it posts Dr Sales Revenue / Dr Tax Payable / Cr Accounts Receivable. Returning 5 of the 50 sheets after they were invoiced:

AccountDebitCredit
1-1300 Inventory250,000
5-1000 Cost of Goods Sold250,000
4-1000 Sales Revenue (credit note)600,000
2-1200 Tax Payable (output PPN)66,000
1-1100 Accounts Receivable666,000

Standard cost change. Releasing a new standard cost revalues the stock on hand in one journal against 5-9300 Standard Cost Revaluation. See Inventory valuation.

Production events

EventDebitCredit
Material issued to a work order1-1400 Work in Process1-1300 Inventory
Material returned from a work order1-1300 Inventory1-1400 Work in Process
Labour and overhead on a finished routing step1-1400 Work in Process5-2100 Applied Labour / 5-2200 Applied Overhead
Finished goods reported1-1300 Inventory1-1400 Work in Process
Work order closed with a difference left in WIP5-9000 Cost Variance (or credit)1-1400 Work in Process

Applied Labour and Applied Overhead are credit-balance expense accounts: they offset the real payroll and factory costs you book by manual journal, so what is left over shows whether your rates absorbed the actual costs. See Product costing, WIP and variances.

Fixed assets and month-end events

  • Asset bought for cash: Dr 1-2000 Fixed Assets / Cr 1-1000 Cash & Bank. Capitalised from a PO receipt: Dr Fixed Assets / Cr Inventory (the receipt already did Inventory / GRNI).
  • Monthly depreciation: Dr 5-3000 Depreciation Expense / Cr 1-2900 Accumulated Depreciation, one journal per asset per month.
  • Disposal: removes the cost and accumulated depreciation, books the proceeds, and posts the difference to 5-9200 Gain/Loss on Asset Disposal.
  • FX revaluation: at month end, open foreign-currency invoices, bills and bank accounts are restated at the month-end rate against FX Gain/Loss, and the entry reverses on the 1st of the next month.
  • Tax remittance: paying withheld PPh debits the payable and credits the bank. Paying PPN also offsets the month's input: Dr Tax Payable (output) / Cr Input VAT / Cr Bank for the net. A month with more input than output pays nothing and carries the input forward. See PPN (VAT).
  • Year-end close: moves every income statement balance to 3-2000 Retained Earnings on 31 December.

See Fixed assets and depreciation, Foreign currency and revaluation and The month-end close checklist.

In Voltrus

Checklist

  • Follow one purchase and one sale of your own through Journals and match them to the tables above.
  • Check at each month end that GRNI and Unbilled Receivables hold only recent, explainable items.
  • Enter expense bills (rent, utilities, fees) with a GL account on each line, so they do not land in Inventory.
  • Link every forwarder's bill to its purchase order as a freight bill, so the freight accrued to GRNI clears.

Run it in Voltrus ERP

Everything in these guides is built in: documents that post to the ledger as they happen, Indonesian tax, MRP and costing, with AI agents that propose and people who approve.

See Voltrus ERP