
ERP Expense Settlement Advance Reconciliation and Input VAT
How to reconcile a cash advance against category-tagged expense lines in an ERP, and why VAT on each line stays informational unless a tax-invoice number exists.
Read MoreBlog
Articles on ERP module development, implementation strategy, and business system integration — approval workflows, accounting modules, and Indonesian compliance.
77 articles

How to reconcile a cash advance against category-tagged expense lines in an ERP, and why VAT on each line stays informational unless a tax-invoice number exists.
Read More
Model a contract as billing-schedule rows, period 0 as the down payment, each with a planned amount and a unique invoice link, so no period is billed twice
Read More
How to correct a paid payroll run without touching it: an amendment record links the closed run to a draft revision, with a reason, a creator and an audit trail.
Read More
How to design the tools an AI agent calls inside an ERP: separate read, draft and post tiers, narrow typed arguments, idempotency keys on every write, branch scoping from the token, model-readable errors and a per-run audit trail.
Read More
An accounts-payable agent that reads a supplier invoice PDF, matches it against the purchase order and goods receipt in code, explains every variance, and drafts the AP entry. Posting pauses for a human through needs_approval, and tool guardrails keep the agent inside the clerk's branches.
Read More
ERP requirements arrive as edge cases, not specs. How I turn them into testable acceptance criteria, a worked-example table and an ambiguity log.
Read More
The module was nine hundred lines and its only specification was a commit message from 2017. Here is the method that survives that: characterisation tests first, then seams, then narrow agent-led extractions, and the four modules an agent never touches alone.
Read More
An agent cannot infer that a journal in a closed period is untouchable, that every query is scoped to a branch, or that document numbers are gapless. Here is how I packaged those rules as a Claude Code plugin, and which mechanism carries which rule.
Read More
Wiring an ERP-backed POS to a 58 mm Bluetooth printer in Flutter: offline outbox, idempotent reprints, a printer port abstraction and field rollout.
Read More
The TM-T82 does not print HTML. Here is the byte-level path that actually works: transports, ESC/POS commands, 48-column arithmetic and code pages.
Read More
The three ESC/POS features a POS actually depends on: the drawer kick pulse, cutting without slicing the total, and reading real-time printer status.
Read More
What Coretax DJP changed for e-Faktur and e-Bupot, and the three things every ERP developer must handle: 16-digit NPWP, auto-generated tax invoice numbers, and the new XML import.
Read More
How I built the kasbon flow end to end in a real carwash ERP — request, cash-session disbursement, piutang tracking, and automatic payroll deduction.
Read More
How I designed opening float, cash-in/out, expected-vs-counted variance, and an append-only audit trail for a real Indonesian carwash POS.
Read More
How to design stock opname in a custom ERP so it stops being a once-a-year freeze: snapshot vs live counting, ABC cycle-count scheduling, variance approval, and correct adjustment posting.
Read More
The invoice price on a purchase order is never the real cost of imported goods. Here is how to build a landed cost engine that apportions freight, insurance, bea masuk import duty, and PPN across purchase lines for accurate inventory valuation.
Read More
A practical walkthrough of the quote-to-cash pipeline in a custom ERP, from quotation and sales order through delivery, invoicing, and payment matching, anchored by the state machine that keeps it all consistent.
Read More
How to design multi-company support into a custom ERP: shared master data, intercompany invoicing, automatic elimination entries, and consolidated reporting.
Read More
How to model consignment inventory in a custom ERP, separating legal ownership from physical possession, and firing the right ledger entries only when the end customer actually buys.
Read More
A practical walkthrough of wiring NPWP validation, PPN at 12% on DPP nilai lain, NSFP invoice numbering, and Coretax XML exports into a custom ERP for Indonesian PKP businesses.
Read More
How to design batch and serial-number traceability into a custom ERP, covering receiving, movements, FEFO picking, and recall reporting for regulated inventory.
Read More
How to design the double-entry general ledger at the heart of an ERP system, from chart of accounts to trial balance, using PostgreSQL constraints and triggers to make unbalanced entries impossible.
Read More
How to model multi-level bills of materials and material requirements planning in a custom ERP, from work orders to backflushed stock.
Read More
How to design a fixed asset module for a custom ERP, from asset registers through straight-line and declining-balance depreciation to disposal and monthly GL posting.
Read More