# Get Maersk.com invoices and free days through an API

> Read your MyFinance invoices, each import container's free days and last free date, and a B/L's cargo release status with one API call each. Or have a workflow check every open B/L each morning and email you the containers near their last free date.

Page: https://fous.com/automate/maersk-com
Updated: 2026-11-12

Works with your own Maersk.com account. Fous is an independent product.

## What you can build on Maersk.com

### Get MyFinance invoices

Reads the invoices in one MyFinance tab (Open, Overdue, Paid or Disputed), optionally narrowed to one bill of lading with the search box.

- Takes: Tab, B/L number (optional)
- Returns: Invoice number, B/L number, tab, amount, currency

### Check demurrage and detention for a B/L

Enters a bill of lading in the Import Demurrage & Detention widget on the Hub and reads each container's free days, last free date and charges.

- Takes: B/L number, pick-up date, return date
- Returns: Container number, demurrage free days, demurrage last free date, demurrage charges, detention free days, detention last free date, detention charges

### Check cargo release status

Opens the delivery order page for one import bill of lading and reads its Cargo Release Status and Finance Status.

- Takes: B/L number
- Returns: B/L number, cargo release status, finance status

### Dispute an invoice in MyFinance

Finds an invoice in the Open, Overdue or Paid tab of MyFinance, files a dispute with your reason and reads it back from the Disputed tab.

- Takes: Invoice number, reason, comment
- Returns: Invoice number, B/L number, amount, dispute status

## Automate Maersk.com with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Import containers near their last free date

Starts: Every weekday at 7:00

1. For each B/L you list, check demurrage and detention on the Hub, with today as the pick-up and return date.
2. Keep the containers whose demurrage last free date is within the next 3 days.
3. Email you the containers grouped by B/L, with free days and last free date.

### Cargo release changes, posted to your trucking team

Starts: Every hour on weekdays, from 6:00 to 20:00

1. For each B/L you list, check the Cargo Release Status and Finance Status.
2. Keep the B/Ls whose status changed since the last run.
3. Post each one, with both statuses, to your Slack or TMS webhook.

### New MyFinance invoices, handed to accounting

Starts: Every weekday at 18:00

1. Get the invoices in the Open tab of MyFinance.
2. Keep the invoices that were not there on the last run, and stop when there are none.
3. Post invoice number, B/L number, amount and currency to your ERP webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get MyFinance invoices” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "www.maersk.com/get_myfinance_invoices",
    "input": {
      "tab": "Open",
      "bl_number": null
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "tab": "Open",
    "invoices": [
      {
        "invoice_number": "INV-7701428",
        "bl_number": "BL-260845112",
        "amount": 2450,
        "currency": "USD"
      },
      {
        "invoice_number": "INV-7701539",
        "bl_number": "BL-260845190",
        "amount": 380,
        "currency": "USD"
      }
    ],
    "count": 2
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## Maersk.com’s own options

Maersk runs a developer portal with an API catalogue and getting-started guides for APIs, webhooks and EDI, and you register there to use them. Without that, the work happens on Maersk.com: the Hub, MyFinance and the Import Demurrage & Detention widget, signed in with your Maersk account.

| Option | What it covers | What it takes |
| --- | --- | --- |
| Maersk APIs | The products in the developer portal's API catalogue, with guides for getting started and for authorisation. | Registration on the Maersk Developer Portal. |
| Webhooks and EDI | Getting-started guides for webhooks and for EDI on the same developer portal. | Registration on the Maersk Developer Portal. |
| Maersk.com by hand | MyFinance invoices, receipts and disputes, the Import Demurrage & Detention widget, the Shipment Binder and delivery order requests. | A Maersk account on maersk.com. |

Read on November 12, 2026: [Maersk Developer Portal: API catalogue](https://developer.maersk.com/catalogue), [Downloading invoice and receipt via MyFinance](https://www.maersk.com/~/media_sc9/maersk/local-information/files/asia-pacific/thailand/export/website-guide/maersk-e-channel-myfinance-oct-23.pdf), [D&D payment instructions (United States)](https://www.maersk.com/~/media_sc9/maersk/local-information/files/north-america/united-states-of-america/payment/dnd-payment-instructions.pdf).

## Signing in to Maersk.com

MyFinance and the Hub open only after you log in to maersk.com with your Maersk account. With Fous you sign in once through Maersk.com's own sign-in with your own account. The login is sealed with AES-256, never returned by the API or written to logs, and a method reads and does only what your account can.

## Worth knowing

- **D&D invoices come days after the move**: In the United States, the official demurrage invoice reaches MyFinance 5 to 7 days after the container gates out, and a detention invoice is generated 7 days after the empty container is returned.
- **Charges follow the date you choose**: The D&D calculator shows demurrage charges for a selected pick-up date and detention charges for a selected return date, so a method takes those dates as inputs.
- **Receipts download one at a time**: Invoices in MyFinance can be selected together and downloaded at once. Receipts sit in the Paid tab under Payment Receipt and cannot be downloaded with a multiple selection.
- **A delivery order needs two things first**: Maersk's Philippines import guide says a delivery order can be submitted only once the bill of lading has been surrendered and the manifest has been submitted to customs.

## More in Logistics: ocean carriers, terminals and ports

- [myDCLI](https://fous.com/automate/mydcli.md)
- [PayCargo](https://fous.com/automate/paycargo.md)
- [APM Terminals TERMPoint](https://fous.com/automate/apm-terminals-termpoint.md)
- [Georgia Ports WebAccess](https://fous.com/automate/georgia-ports-webaccess.md)
- [易港通](https://fous.com/automate/eporthub.md)
- [INTTRA](https://fous.com/automate/inttra.md)
- [CMA CGM eBusiness](https://fous.com/automate/cma-cgm-ebusiness.md)
- [COSCO SHIPPING Lines eBusiness](https://fous.com/automate/cosco-shipping-lines-ebusiness.md)
- [myMSC](https://fous.com/automate/mymsc.md)
- [ONE eCommerce](https://fous.com/automate/one-ecommerce.md)
- [ShipmentLink](https://fous.com/automate/shipmentlink.md)
- [eModal](https://fous.com/automate/emodal.md)
- [PortTruckPass](https://fous.com/automate/porttruckpass.md)
- [DAKOSY](https://fous.com/automate/dakosy.md)
- [Destin8](https://fous.com/automate/destin8.md)
- [Portbase](https://fous.com/automate/portbase.md)
- [PierPASS](https://fous.com/automate/pierpass.md)
- [Forecast by Tideworks](https://fous.com/automate/forecast-by-tideworks.md)
- [1-Stop Vehicle Booking System](https://fous.com/automate/1-stop-vehicle-booking-system.md)

Other industries: [C3 Reservations](/automate/c3-reservations), [eSupplierConnect](/automate/esupplierconnect), [ILSmart](/automate/ilsmart), [PF Expert](/automate/pf-expert), [myCintas](/automate/mycintas), [Lowe's Vendor Gateway](/automate/lowe-s-vendor-gateway).

## Frequently asked questions

### Does Maersk.com have an API?

Yes, through the Maersk Developer Portal. It has an API catalogue and getting-started guides for APIs, webhooks and EDI, and you register on the portal to use them. Without it you have Maersk.com itself: MyFinance, the Hub and its widgets, used with your Maersk account.

### Where do I see the free days and last free date of a container?

In the Import Demurrage & Detention widget on the Hub. You enter the bill of lading number and select View, and it shows free days, last free date and charges for demurrage and for detention, based on the pick-up and return dates you select.

### When does a detention invoice appear in MyFinance?

In the United States, detention invoices are generated 7 days after the empty container has been returned. The official demurrage invoice is uploaded to MyFinance 5 to 7 days after the container has gated out for delivery.

### How do I dispute a Maersk invoice?

In MyFinance. You search for the invoice or select it in the Open, Overdue or Paid tab and file the dispute, then follow it in the Disputed tab. Maersk's US instructions ask you to allow 1 to 2 business days for a D&D dispute to be reviewed.

### Is Fous affiliated with A.P. Moller - Maersk?

No. Fous is an independent product. You use it with your own Maersk.com account, and a method reads and does only what that account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of Maersk.com (A.P. Moller - Maersk). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
