START A CONVERSATION

Let’s talk about your next build.

Prepare your brief below, then review and send it in your email app to sales@nextlabsonline.com.

THE FIRST CONVERSATION

Your product idea, AI opportunity or automation challenge—and a useful first milestone.

All fields are required.

A few sentences about the problem, your users and timing are enough.

We’ll use your details to respond to your enquiry. Please don’t include patient records, passwords or confidential information. Privacy Policy · Website Terms.

Logistics & supply chain / Logistics Finance & Accounting

Demurrage and Detention: Expense or Inventory Cost?

By Vikasraj YadavPublished 9 min read

For logistics finance controllers, cfos and ap/ar leads · Compare approaches

Demurrage and Detention: Expense or Inventory Cost? — Two operations and finance staff sitting at a wooden table with a laptop, a kraft folder, a desktop calculator, and a blank ruled clipboard, overlooking a warehouse floor with packing benches and pallet racking.

Demurrage and Detention: Expense or Inventory Cost?: Illustrative customer activity and logistics cost-to-serve review beside a fulfilment floor; not a client facility.

At a glance · Quick answer

Quick answer: demurrage accounting treatment

Demurrage accounting treatment follows the cause of each chargeable day. Days unavoidable in importing the goods, such as a random customs exam, can join landed cost under ASC 330-10-30-1; days caused by late documents or a full warehouse are abnormal period charges under ASC 330-10-30-7, and Ind AS 2 paragraph 16(b) excludes terminal storage. Recoveries are booked separately.

TL;DR — what you’ll learn

  • Code every chargeable container day to one of about six causes before posting; the cause, not the PO number on the bill, decides inventory, period expense or recovery.
  • Under 46 CFR 541.5 and 541.7, a US invoice missing a 541.6 field or issued over 30 days after the last charge date is not payable.
  • Release month-end accruals when no carrier or terminal invoice arrives within 30 calendar days of gate-out or empty return; NVOCC bills follow a different clock.
  • Book recoveries separately: US once probable and capped at cost expensed; India only when virtually certain under Ind AS 37 paragraph 33, usually on a signed debit note.

Topics: demurrage accounting treatment · abnormal cost rule · recovery from vendors · detention charges inventory cost · 46 cfr 541 invoice requirements

All quantities, amounts, product codes and events are illustrative teaching examples.

The terminal released the box on day nine, the carrier's invoice arrived three weeks later, and accounts payable coded the whole amount to the landed cost voucher because it carried the purchase order number. At quarter end the auditor picked the line, asked why four days of demurrage caused by a supplier's missing packing list sat inside the unit cost of a SKU, and nobody could show which days were whose fault.

Container time charges are small per line and large in total, and they fail in the same way every quarter: the account is chosen from the reference number on the bill instead of from the cause of the delay. A cause code captured before posting, a written abnormal-cost test and a recovery ledger turn each charge into one defensible entry, and they stop finance paying invoices that a US billing rule says nobody owes.

  • What this guide covers: the difference between demurrage, detention and per diem for accounting purposes, the abnormal-cost test under ASC 330-10-30-7 and Ind AS 2 paragraph 16, invoice validity under 46 CFR Part 541, month-end accruals and recoveries from suppliers, brokers and customers.
  • What it adds: a timestamped incident on one import, a release query for stale accruals, worked US ($) and India (₹) ledgers, and a close checklist for container time charges.

Why one container's time charges end up in three different accounts

Demurrage, detention and per diem look alike on a bill but measure different things, so they rarely share one account. Demurrage is generally a charge for cargo or equipment occupying terminal space beyond free time; detention, often called per diem in the US, is a charge for keeping the carrier's container outside the terminal beyond free time.

The US Federal Maritime Commission's billing rule groups them for invoicing purposes. Its definition in 46 CFR 541.3 covers any charges, including per diem, assessed by ocean carriers, marine terminal operators or NVOCCs for the use of terminal space or shipping containers, but not freight. Our guide to separating demurrage, detention and terminal storage on a bill covers how to rebuild each clock; this article starts after the arithmetic is agreed and asks where the money belongs.

Scroll horizontally to see all columns.

Who holds each fact behind a container time charge and who signs off the posting
Fact needed to post the chargeDocument that evidences itWho owns the factWho signs off
Free time start, end and last free dayArrival notice, delivery order or carrier tariff ruleImport operations or freight forwarder deskLogistics manager
Days actually charged, by containerTerminal gate-out record and equipment interchange receipt (EIR) on returnDrayage coordinatorLogistics finance analyst
Cause of each chargeable dayCustoms hold notice, broker filing log, dock appointment log, supplier document datesImport operations with the customs brokerLogistics manager
Whether the invoice is payable at allInvoice fields checked against 46 CFR 541.6 and its issue date against 541.7Accounts payableAP manager
Normal or abnormal classificationWritten cost policy and the cause codeCost accountingFinancial controller
Recovery from a supplier, broker or customerContract clause, debit note and written acceptanceProcurement or sales operationsFinancial controller
Posting a container time charge: from the running clock to the recovery Step 1, Clock and cause: Chargeable days with a cause code. Free-time end from arrival notice; Gate-out or EIR return stops it; One cause code per day. Step 2, Screen the invoice: Payable under the billing rules. All 46 CFR 541.6 fields present; Issued within 30 days of last charge; Dispute diary set at 30 days. Step 3, Classify and post: Inventory, period or fulfilment. Unavoidable days per policy; Partner or own fault: abnormal; GST to credit ledger in India. Step 4, Recover and close: Claim, accrual release, sign-off. Debit note with signed acceptance; Stale accruals reversed; Controller signs the close list. Posting a container time charge: from the running clock to the recovery Each chargeable day is cause-coded, the invoice is screened, and recoveries are booked as separate assets 1 · CLOCK AND CAUSE Chargeable days with a cause code • Free-time end from arrival notice • Gate-out or EIR return stops it • One cause code per day 2 · SCREEN THE INVOICE Payable under the billing rules • All 46 CFR 541.6 fields present • Issued within 30 days of last charge • Dispute diary set at 30 days 3 · CLASSIFY AND POST Inventory, period or fulfilment • Unavoidable days per policy • Partner or own fault: abnormal • GST to credit ledger in India 4 · RECOVER AND CLOSE Claim, accrual release, sign-off • Debit note with signed acceptance • Stale accruals reversed • Controller signs the close list

Reading ASC 330-10-30-7 and Ind AS 2 paragraph 16 for container time

Neither standard mentions demurrage by name, so the answer rests on two tests: did the cost bring the goods to their present location and condition, and was it normal? A day that was unavoidable in importing the goods can be an acquisition cost; a day caused by a failure is an abnormal or storage cost and goes to the period.

Under US GAAP, ASC 330-10-30-1 includes in inventory the expenditures incurred in bringing an item to its existing condition and location. ASC 330-10-30-7 then requires abnormal freight, handling costs and wasted materials to be treated as current period charges. KPMG's inventory handbook adds that an increase in direct acquisition costs does not typically represent an abnormal cost, which matters when a carrier raises its daily rates.

Demurrage accounting treatment under ASC 330-10-30-7 and Ind AS 2 paragraph 16 depends on cause: container days that were unavoidable in acquiring the goods may join landed cost, while days caused by late documents or a full warehouse are period charges, and each posted day should carry one cause code.

Ind AS 2 frames it differently. Paragraph 10 admits costs of bringing inventories to their present location and condition, and paragraph 11 names transport and handling directly attributable to acquisition. Paragraph 16 lists exclusions, including abnormal amounts of wasted materials, labour or other production costs in clause (a) and storage costs in clause (b), unless storage is needed in production before a further stage.

  • Demurrage under Ind AS 2: a charge for cargo sitting in terminal space reads most naturally as storage, so many Indian preparers expense it under paragraph 16(b) whatever the cause.
  • Detention under Ind AS 2: container rental while the box travels to and is unloaded at your site is closer to transport and handling under paragraph 11, but only for the normal unloading window.
  • Either charge under US GAAP: there is no separate storage exclusion paragraph, so the abnormal test in ASC 330-10-30-7 does most of the work and the written policy must define "normal".
  • Terminal storage from a CFS or MTO: treat it like demurrage; it pays for space, not for movement.

A cause code chosen before the amount is known

Capture the reason for each chargeable day when the clock runs, not when the bill arrives weeks later. The cause code drives the account, the recovery route and the dispute; an amount without a cause can only be guessed at.

Scroll horizontally to see all columns.

Cause codes for container time and the posting and recovery each one triggers
Cause codeTypical evidenceDefault postingRecovery route
GOV-EXAM: customs or agency examination holdCBP exam notice or Indian Customs examination orderAcquisition cost if the policy treats random exams as inherent; otherwise period expenseNone; government holds are not billable to a partner
VND-DOCS: supplier documents late or wrongDate the commercial invoice, packing list or certificate arrived, with the purchase contract clauseAbnormal expenseDebit note to supplier under the contract
BRK-FILE: broker filed or paid lateBroker filing timestamps and duty payment receiptAbnormal expenseClaim under the broker's service agreement
OWN-DOCK: receiving site could not take the boxDock appointment log and yard capacity reportAbnormal expenseNone; internal cost centre is charged
CUS-HOLD: customer delayed an export load or a DDP deliveryCustomer's appointment changes and the sales contractFulfilment cost, not inventoryRecharge to customer if the contract allows
CAR-FAIL: carrier or terminal failed to make the box availableTerminal availability data, appointment refusalsNot payable; disputeRefund or waiver request to the billing party

Keep the code list short. Six codes cover most import and export flows, and every additional code dilutes the review. Where a single day has two causes, such as an exam hold that overlaps a supplier's late certificate, code the day to the earlier event that stopped release and record the second as a note; splitting a day between parties invites a dispute nobody can settle from the documents.

Testing the carrier's invoice against 46 CFR Part 541 first

For US cargo, check whether the invoice is payable before deciding its account. Under 46 CFR 541.5, failing to include any required minimum information eliminates the billed party's obligation to pay, and under 541.7 an invoice issued more than 30 calendar days after the charge was last incurred is not payable.

Part 541 governs demurrage and detention invoices issued by ocean common carriers, marine terminal operators and NVOCCs, and took effect in 2024 (89 FR 14362). Section 541.6 lists what each invoice must contain, grouped into identifying, timing, rate, dispute and certification information. Accounts payable can turn that list into a pass or fail screen applied before any coding decision.

  • Identifying information, 541.6(a): bill of lading number, container number, port of discharge for imports, and the basis for why the billed party is the proper party of interest.
  • Timing information, 541.6(b): invoice date, due date, free time in days, start and end of free time, container availability date for imports or earliest return date for exports, and the specific dates charged.
  • Rate information, 541.6(c): total due, the tariff rule, terminal schedule or service contract section behind the daily rate, and the rates applied.
  • Dispute and certification, 541.6(d) and (e): a contact, a link or QR code to the mitigation process, defined timeframes, and statements that the charges comply with FMC rules and that the billing party's own performance did not cause them.

Demurrage and detention invoices for US ocean cargo must carry the fields listed in 46 CFR 541.6 and be issued within 30 calendar days of the last charge date under 541.7; accounts payable should treat a missing field or a late issue date as a reason not to post the liability at all.

Section 541.8 gives the billed party at least 30 calendar days from the invoice date to request mitigation, refund or waiver, and requires the billing party to attempt to resolve a request within 30 days of receiving it, unless both agree to a later date. Diarise both dates in the AP workflow, because a dispute filed on day 31 has lost its regulatory footing even when the charge is plainly wrong.

Month-end accruals for clocks that are still running

Accrue the charge for every box past free time at close, using the tariff tiers and the cause code, then release any accrual the invoice deadline has made unpayable. Without the release step, accruals for invoices that never arrive sit on the balance sheet for months and are written back in a lump that distorts the margin of a later quarter.

The accrual is a count of chargeable days multiplied by the applicable tier rate, per container and per charge type. Most carriers publish stepped rates, for example a lower daily rate for the first block of days and a higher one after. The query below lists open accruals and flags those that can be released under 541.7(a) because no invoice arrived within 30 days of the last charge date.

-- Accrued charge per container and charge type:
--   A = sum over chargeable days d of rate(d)
--   chargeable days run from free_time_end + 1 to MIN(stop_date, close_date)
--   rate(d) = tier_1_rate when d <= tier_1_days, else tier_2_rate
-- Release test (46 CFR 541.7(a), ocean carrier or MTO billing party):
--   no invoice received and close_date > stop_date + 30 calendar days

SELECT a.container_no,
       a.bl_no,
       a.charge_type,              -- 'DEM' or 'DET'
       a.cause_code,
       a.accrued_amount,
       a.stop_date,                -- gate-out (DEM) or EIR return (DET)
       a.billing_party_type        -- 'VOCC', 'MTO' or 'NVOCC'
FROM   dd_accrual a
LEFT JOIN ap_invoice_line i
       ON i.container_no = a.container_no
      AND i.charge_type  = a.charge_type
WHERE  i.invoice_id IS NULL
  AND  a.billing_party_type IN ('VOCC', 'MTO')
  AND  :close_date > a.stop_date + INTERVAL '30' DAY;

NVOCC bills need a different test. Under 541.7(b) an NVOCC has 30 days from the issue date of the invoice it received from its own billing party, a date the importer cannot see, so hold those accruals until the NVOCC confirms or invoices. For India, release accruals only on the line's or CFS's written waiver or after the contractual billing window lapses; no equivalent statutory deadline applies.

Recovering the charge from a supplier, broker or customer

A recovery is a separate asset with its own recognition test, not a reduction of the original posting on the day a claim is sent. Book the charge by cause first, then book the recovery only when the counterparty's acceptance meets the threshold in each market.

US practice distinguishes recovering a cost already recognised from recording a gain. PwC's financial statement guide describes recognising a recovery claim once the loss event has occurred and recovery is probable, limited to the cost already recognised; any excess falls under the gain contingency rule in ASC 450-30-25-1, which keeps gains out of the accounts until realised. PwC also notes that a disputed claim is presumed not probable.

  • Supplier settles in cash: credit a recovery account against the abnormal expense line once the supplier accepts in writing.
  • Supplier offers a price credit: ASC 705-20-25-1 presumes consideration from a vendor reduces the purchase price of its goods, so a credit on the next order may land in inventory instead; agree the policy with auditors before the first material claim.
  • Broker or forwarder at fault: claim under the service agreement and net only against invoices the broker has agreed to reduce.
  • Customer recharge: treat a contractual recharge as part of the sale arrangement and route it through the revenue team, not freight.

Recovery of supplier-caused demurrage is recognised separately from the original charge: under US GAAP once recovery is probable and capped at the cost already expensed, and under Ind AS 37 paragraphs 31 to 35 only when realisation is virtually certain, typically on the supplier's signed acceptance of the debit note.

Ind AS 37 sets a higher bar. Paragraph 31 forbids recognising a contingent asset; paragraph 33 allows recognition once realisation of the income is virtually certain; paragraph 34 requires disclosure when an inflow is probable. Where the demurrage is part of a provision, paragraph 53 applies the same virtually certain test to reimbursements. Ind AS 2 paragraph 11 separately deducts rebates and similar items from purchase cost, which covers price credits.

Incident trace: an exam hold, a late packing list and a stale invoice

The trace below follows one illustrative US import of two 40-foot containers under purchase order PO-4500018820. It shows how one shipment produces three treatments and why posting from the reference number alone gets all three wrong.

  1. 3 March, 06:40, terminal: Both containers discharge; last free day is 7 March. Container C-4471 is selected for a customs examination, released on 9 March. The TMS opens demurrage clocks DEM-4471 and DEM-4472.
  2. 10 March, 15:20, import desk: The supplier's corrected packing list for C-4471 arrives a day after the exam release and the broker needs it to close the entry, so pickup slips to 12 March. Operations codes 8 and 9 March as GOV-EXAM and 10 to 12 March as VND-DOCS.
  3. 19 March, 09:05, receiving DC: C-4472 left the terminal on 6 March, inside free time, but the full DC held it; the empty returns three days after detention free time ended on 16 March. Cause code OWN-DOCK; month-end accrual ACR-0331-017 books $450.
  4. 2 April, 11:30, AP: The carrier's demurrage invoice INV-DM-22871 for $1,000 arrives with every 541.6 field present. AP, uncoded, posts it to landed cost voucher LCV-2209 against the PO.
  5. Controlled version, 28 April: The voucher is split by cause: $350 to inventory, $650 to abnormal freight with a supplier debit note. No detention invoice has arrived 30 days after 19 March, so accrual ACR-0331-017 is released under 541.7(a).

Worked ledger for one import in USD and one in INR

The same rules produce different numbers in each market because Ind AS 2 paragraph 16(b) pulls terminal storage out of inventory and because Indian GST sits on top of every charge. Figures are illustrative, and the US policy shown treats random exam holds as normal; an entity that expenses all demurrage would post the $350 to the period instead.

Scroll horizontally to see all columns.

Illustrative container time charges on one US import and one Indian import, by treatment
LineUS import, PO-4500018820 (USD)India import, Nhava Sheva (INR)Treatment
Days during a customs exam holdDemurrage 2 days x $175 = $350Line detention 2 days x ₹6,500 = ₹13,000US: inventory under the policy. India: detention as transport cost, paragraph 11
Days caused by a partnerSupplier documents: 2 x $175 + 1 x $300 = $650Broker missed duty payment: 4 x ₹6,500 = ₹26,000Abnormal expense, then a recovery claim
Storage of cargo in terminal or CFSNone billed separatelyCFS ground rent 6 days x ₹2,400 = ₹14,400Period expense, Ind AS 2 paragraph 16(b)
Days caused by the importer's own siteDetention 3 x $150 = $450 accrued, released when no invoice came within 30 daysNoneUS: accrual reversed under 46 CFR 541.7(a)
GST on the line and CFS invoicesNot applicableAs charged on each tax invoiceElectronic credit ledger if CGST Act Section 16(2) conditions are met; excluded from every amount above
Recovery accepted in writingSupplier: $650Broker: ₹26,000US: probable, capped at cost expensed. India: virtually certain, Ind AS 37 paragraph 33
Net effectInventory +$350; period cost $0Inventory +₹13,000; period cost ₹14,400Cash paid: $1,000 and ₹53,400 before GST

The Indian figures assume that the broker's agreement makes it liable for losses caused by a missed duty payment and that the broker signs the debit note before the books close. If acceptance arrives after the reporting date, the expense stays in the period and the recovery is disclosed if probable, then recognised when acceptance makes it virtually certain. The landed cost capitalization guide shows how the capitalised ₹13,000 spreads to units and how much moves to cost of sales.

Which steps the ERP should block and where a reviewer decides

Rules belong where the answer can be read from a field; people belong where the answer depends on a document's meaning. A container charge with no cause code, an invoice missing a 541.6 field or a recovery with no acceptance should never post, while assigning blame between two overlapping causes needs a reviewer.

Scroll horizontally to see all columns.

Container time charge checks: fixed system rules and tasks where software only assists a reviewer
TaskFixed rule in ERP or AP workflowWhere software or AI assists a personWho decides
Accept an invoice for US cargoBlock if any 541.6 field is blank or the issue date is over 30 days after the last charge dateExtracting fields from a PDF invoice for the checkAP clerk confirms the extraction
Recalculate chargeable daysDays from free-time end to gate-out or EIR return, times the tariff tierReading the terminal's last-free-day notice when no feed existsLogistics finance analyst
Assign a cause code to each dayNo posting without a code from the approved listSummarising a broker's hold email or supplier correspondence into a suggested codeImport operations lead
Classify normal or abnormalAccount derived from cause code and policy tableNone; the policy table is the decisionFinancial controller approves the table
Record a recovery receivableRequires a signed acceptance or credit note referenceDrafting the debit note and claim letter from the evidence packProcurement manager sends; controller recognises
File a 541.8 mitigation requestDiary date 30 days from invoice dateAssembling availability and appointment evidenceLogistics manager

Freight audit and coding live next door to this workflow. The freight GL coding matrix sets default accounts for linehaul and accessorial lines; container time charges should use the same account families so that the cause code, not a new chart of accounts, carries the extra detail.

Close checklist for demurrage, detention and per diem lines

A short checklist run on the third working day keeps container time from leaking into unit cost or lingering in accruals. Each item names its evidence so an auditor can test it without interviewing the import desk.

Scroll horizontally to see all columns.

Month-end checklist for container time charges, with evidence and owner
CheckPass conditionEvidence keptOwner
Every open clock accruedAll boxes past free time at close have an accrual line by charge typeAccrual report tied to terminal and EIR dataLogistics finance analyst
Cause codedNo posted day without a cause codeException report showing zero uncoded daysImport operations lead
US invoices screenedEach invoice passed the 541.6 field check and the 541.7 date checkScreen result stored with the invoiceAP manager
Stale accruals releasedAccruals past the 30-day window with no invoice reversedRelease query output and journalFinancial controller
Disputes diarisedMitigation requests sent within 30 days of invoice dateRequest copies with send datesLogistics manager
Recoveries recognised correctlyUS receivable only when probable; India only when virtually certainSigned acceptances, credit notesFinancial controller
Indian GST splitTax on line and CFS invoices in the credit ledger, not in expense or inventoryGSTR-2B match for each invoiceTax manager
Year-end cut-offCharges for boxes in transit or at port at year-end follow the ownership termsCut-off scheduleCost accounting manager

The year-end item matters most when goods are in transit or waiting at port on the balance sheet date; our goods-in-transit cut-off guide covers who owns the cargo at that moment. For more logistics finance controls, browse the logistics and supply chain hub. If you want a cause-coded charge workflow wired into your TMS and ERP, send us an RFP with your monthly container volumes and the carriers you use.

Discuss this workflow

Describe your current systems, the recurring exception and the outcome you need. Keep shipment, customer and financial records out of the initial message.

START A CONVERSATION

Let’s talk about your next build.

Prepare your brief below, then review and send it in your email app to sales@nextlabsonline.com.

SELECTED INDUSTRYLogistics & supply chain

Article: Demurrage and Detention: Expense or Inventory Cost? · Logistics Finance & Accounting

THE FIRST CONVERSATION

Your product idea, AI opportunity or automation challenge—and a useful first milestone.

All fields are required.

A few sentences about the problem, your users and timing are enough.

We’ll use your details to respond to your enquiry. Please don’t include patient records, passwords or confidential information. Privacy Policy · Website Terms.

Common operational questions

Practical answers for operations, engineering, and finance teams working on demurrage accounting treatment in logistics & supply chain.

Is demurrage part of inventory cost or a period expense?
It depends on cause. Days unavoidable in acquiring the goods can be part of cost under ASC 330-10-30-1 if policy says so. Days caused by late documents, a full dock or a broker's error are abnormal period charges under ASC 330-10-30-7. Indian preparers often expense demurrage as storage under Ind AS 2 paragraph 16(b).
Do I have to pay a demurrage invoice that arrives late?
For US ocean cargo, 46 CFR 541.7(a) says that if a carrier or terminal operator issues the invoice more than 30 calendar days after the charge was last incurred, the billed party need not pay. NVOCCs have 30 days from the invoice they received. Release any accrual once the window has passed.
When can I record a recovery of demurrage from a supplier?
Record it as a separate asset, not by netting the original charge. Under US GAAP practice a recovery of a recognised cost is booked once probable, capped at the amount expensed, and a disputed claim is presumed not probable. Under Ind AS 37 paragraph 33, recognition waits until realisation is virtually certain.
Is GST payable on a debit note recovering demurrage from a vendor in India?
CBIC Circular 178/10/2022-GST, paragraph 7.1.4, treats liquidated damages paid only to compensate for loss from a breach as a flow of money, not consideration for a supply. A debit note framed as recharging a service may be treated differently, so the tax team should approve the contract wording and template.

References

Sources checked 13 November 2026. US and India statutory authorities and vendor documentation support platform facts; the worked examples and diagrams are original.

About the author

Vikasraj Yadav writes about operational decisions, software and automation for NextEdge Labs.