NATARAJA LABS

Logistics · Enterprise AI workflow

Detention and demurrage disputes

Pay or dispute this detention or demurrage invoice?

Owner: AP lead · Who uses it: Accounts payable, operations and the customs team · See it on the Logistics page

Illustration: Origin record and destination record.

The problem

Invoices paid with the batch, with dispute windows missed.

In US ocean trade, the FMC billing rule requires detention and demurrage invoices to carry specified information and to be issued within 30 days of the last day charges accrued. If an invoice is late, the billed party need not pay. The billed party has at least 30 days to dispute.

Sample Line bills $9,450 of demurrage on container 3, for 7 days ending 24 Sep. The invoice is dated 4 Nov 2026: 41 days after the last charge day.

Nobody checks the date when the invoice arrives in a batch of forty. Outside the US the rule does not apply, and the contract and the carrier’s tariff govern.

Source: 46 CFR 541.7; 46 CFR 541.8. Other figures belong to the fictional Sample Logistics Group.

How it is done today

  1. Step 1D&D invoices are approved with other carrier invoices.
  2. Step 2Container timelines are not rebuilt.
  3. Step 3Disputes are raised only for very large amounts.

Pay or dispute the $9,450 demurrage on container 3?

Accounts payable · Port Newark

Today
The invoice is paid with the batch.
With Enterprise AI
The container’s days are rebuilt from terminal records, and the invoice date and content are checked against the contract and the FMC billing rule.

In plain wordsDemurrage a charge for a container left inside the terminal beyond free timeDetention a charge for a container kept outside the terminal beyond free timeFree time the days allowed before charges start

Accounts payableDemurrage · container 3 · SLG-24117
Illustrative records

01 / Invoice

Sample Line bills $9,450 of demurrage on container 3.

7 charge days, 18 Sep to 24 Sep, in two tiers.

02 / Clock

The container’s clock is rebuilt from terminal records.

Discharged 14 Sep, 3 free days, held for a CBP exam until 22 Sep, out-gated 24 Sep.

03 / Date

The invoice is dated 4 Nov 2026: 41 days after the last charge day.

The FMC billing rule requires an invoice within 30 days of the last day charges accrued. If it is late, the billed party need not pay.

04 / Dispute

A dispute letter is drafted with the timeline and the rule.

The AP lead approves it before it goes. The invoice is not paid with the batch.

Carrier invoiceDemurrage · container 3 · $9,450

Reading the invoice lines and dates…

AP leadIs the charge right?

Rebuilding the container’s days from terminal and exam records…

AP leadWas it billed in time?

Checking the invoice date and content against the FMC billing rule…

AP leadDraft the dispute.

Drafting a letter with the timeline and the rule…

1213141516171819202122232425 September 2026DischargedCBP exam holdCharge days 7 30 daysInvoice 4 Nov · day 41 4 days × $1,0503 days × $1,750= $9,450
Dispute · draftSample Line, demurrage billing

Your invoice for $9,450 on container 3 is dated 4 Nov 2026, 41 days after the last day charges accrued (24 Sep 2026). Under 46 CFR 541.7 we are not required to pay it. The terminal timeline is attached.

Awaiting AP lead Not sent

Fictional invoice and dates. The FMC billing rule applies to US ocean commerce.

Read the walkthrough
  1. Sample Line bills $9,450 of demurrage on container 3. 7 charge days, 18 Sep to 24 Sep, in two tiers.
  2. The container’s clock is rebuilt from terminal records. Discharged 14 Sep, 3 free days, held for a CBP exam until 22 Sep, out-gated 24 Sep.
  3. The invoice is dated 4 Nov 2026: 41 days after the last charge day. The FMC billing rule requires an invoice within 30 days of the last day charges accrued. If it is late, the billed party need not pay.
  4. A dispute letter is drafted with the timeline and the rule. The AP lead approves it before it goes. The invoice is not paid with the batch.

How it works

Records it reads from your systems

  • Carrier invoices
  • Terminal gate and event records
  • Customs hold and exam records
  • Carrier contracts and free time terms

Our data

None. This workflow runs on your own records.

Rules and clauses it applies

  • The timeline is rebuilt from terminal records
  • Free time follows the contract
  • For US ocean invoices, date and content are checked against the FMC rule
  • Disputes cite the record and the rule

Where the AI stops and a person decides

  • The AP lead decides whether to dispute
  • Dispute letters are drafts until approved
  • The AI never pays or refuses payment

What to measure in a pilot

  • Invoices checked
  • Disputes raised within the window
  • Credits received

How a pilot starts

What to bring
A quarter of D&D invoices with the terminal records for the containers.
How long
About four weeks.
Who is involved
The AP lead, someone from operations and our engineers.

In your market

  • United StatesUnder the FMC billing rule (46 CFR 541), a D&D invoice must carry set content and issue within 30 days of the last charge day, or the billed party need not pay. A court vacated only the rule on who may be billed in 2025.
  • United KingdomIn the UK, detention and demurrage follow each carrier’s published tariff and bill of lading terms, with free time varying by carrier and port. Disputes rest on the contract and gate records; the US FMC billing rule does not apply at UK ports.
  • UAE & Saudi ArabiaAt Jebel Ali, port storage follows DP World’s published tariff, and line detention and demurrage follow the carrier’s tariff and bill of lading terms. Boxes rerouted through Khor Fakkan or Fujairah since March 2026 need their free-time start dates checked against the line’s own notice before paying.
  • IndiaThe US FMC billing rule does not apply at Indian ports. Detention and demurrage follow the carrier’s and terminal’s tariffs and the contract, so the container timeline is checked against those terms before anything is disputed.

Questions

Is this the same as charter-party demurrage?

No. That is a vessel matter, covered on the Maritime page. This is container detention and demurrage.

Does the FMC rule apply everywhere?

No, only to US ocean commerce. Elsewhere the contract and tariffs govern.

Does it send disputes?

It drafts them; the AP lead approves.

Try it on your own records

Bring last quarter’s detention and demurrage invoices. We will show what this workflow would have caught.

Discuss this workflow
Source record / sample data