Implementing Freight Audit and Payment (FAP) and Demurrage-Detention Control in Custom ERP: Automated Verification of Carrier Invoices Against Rate Contracts, Early Free Time Alerts per Container, Landed Cost Allocation per Shipment, and a Three-Way Match for Logistics Cost
In almost every company that ships at scale, one cost line grows without ever being truly examined: carrier invoices. Bills arrive from dozens of forwarders and trucking vendors in different formats, using rate codes that do not always match the contract, along with added charges such as waiting time, overnight parking, and demurrage that rarely get verified because the logistics team is already busy handling the next shipment. The result is a leak that never looks like one big loss — it looks like hundreds of small variances slipping through every month. This article explores how Goodsyst builds Freight Audit and Payment (FAP) as part of a Custom ERP rather than a separate application, so that every rupiah of logistics cost can be tested against the contract, traced to the shipment it belongs to, and allocated to the right product cost.
From Rate Contract to Invoice: Why Variances Almost Always Slip Through
The core problem is not the absence of a contract but the absence of a comparison engine. Rate agreements usually live in a PDF annex signed a year ago: rates per lane, per kilogram, per container, with minimum charge terms, fuel surcharges that change every quarter, and waiting time rules that only apply after the first two hours. On the other side, invoices arrive as free-form documents from dozens of vendors. Without automated comparison, the AP team can only check three things: whether the PO number is right, whether the amount looks reasonable, and whether it matches last month. Every rate deviation passes untouched.
In a Goodsyst Custom ERP, the rate contract is treated as living master data. Each lane, mode, and container type carries a versioned rate matrix with effective dates, period-based fuel surcharges, and rules for minimum charges or tiered rates by weight. When an invoice arrives — whether uploaded as a file or pulled from a vendor portal integration — the system matches it line by line against shipments that actually happened: delivery note number, load date, actual weighbridge weight, and fleet type. Lines that match the contracted rate go to an auto-approve path; lines that deviate are flagged as exceptions with a specific reason, such as “per-kg rate 12% above contract for the Surabaya–Makassar lane” or “waiting time billed although unloading took only 1 hour 40 minutes.”
What matters most is not rejection but the memory of decisions. Every exception stores its approval rationale, who approved it, and which contract version it was tested against. When the same vendor repeats the same error pattern three months in a row, the system can flag it as a vendor compliance score that becomes the basis for renegotiation — not just a note buried in an email thread.
In freight cost audits, most findings do not come from deliberately inflated rates but from add-on charges that were never tested: waiting time billed repeatedly, fuel surcharges applied to the wrong period, and chargeable weight using volumetric calculations when the contract specifies actual weight. Because each amount is small per transaction, these costs only become visible when every invoice is consolidated and tested against the contract automatically.
Free Time, Demurrage, and Detention: Turning a Calendar into an Alarm
On the ocean freight side, the two most expensive cost items are also the easiest to prevent: demurrage (containers sitting at port beyond free time) and detention (containers held at the consignee beyond the allowed window). Neither is purely an operational problem; both are information problems. The free-time start date often sits in a different document from the gate-out date, and nobody holds a countdown for every container currently in motion.
A Goodsyst Custom ERP models the container lifecycle as an entity with hard timestamps: discharge, customs clearance, gate-out, warehouse arrival, empty return. From those milestones the system computes remaining free time per container and issues tiered escalation — a reminder to the documentation team at T-3 days, to the warehouse lead at T-1, and to management on the day itself. Crucially, the escalation attaches to the specific container rather than to the shipment in general, so the recipient knows exactly which box must move today.
The effect is structural. When the countdown is visible to everyone, trucking scheduling shifts from reactive to planned, and demurrage stops being an unexpected line in the monthly report. The system also records the cause of each event — document delay, port congestion, or full warehouse capacity — so corrective action targets the source rather than the invoice.
Landed Cost per Shipment and a Three-Way Match for Logistics Cost
The question business owners most often cannot answer is simple: what does one carton actually cost to deliver to Sulawesi? Material purchase cost is recorded cleanly, production cost is recorded cleanly, but logistics cost usually ends up as one large line in the P&L. Yet that line determines margin per customer, per lane, and per product type.
Because FAP lives inside the Custom ERP, every audited cost can be allocated directly to its originating shipment and, from there, to the products shipped — by weight, volume, or value according to your accounting policy. The output is an accurate landed cost per delivery, which then flows into margin reporting by customer and by region. Questions like “is this lane still profitable?” or “should the customer in city X receive special delivery terms?” can finally be answered with numbers rather than estimates.
The final layer is a three-way match for logistics cost: a shipment proven to have occurred, an invoice that passed rate audit, and a payment recorded in the general ledger must meet at a single point. When all three connect, monthly closing no longer waits for a manual recap from the logistics team, and no payment passes without an audit trail. For finance, logistics stops being a line taken on trust and becomes a line audited to the same standard as material procurement.
Cleaning up logistics cost is not a matter of installing one extra module. It requires structured rate contracts, clean shipment data, and a clear approval flow — the very strengths of a Custom ERP designed around your business processes. Goodsyst works that way: we map your shipping and billing flow first, then build the audit engine behind it. If your team still checks carrier invoices by hand and demurrage still arrives as a monthly surprise, let us discuss how that flow can be automated. Book a free consultation via WhatsApp or email [email protected].
Consult Your Needs
Interested in the solution above? Discuss your business's dream system for free with our expert team.