Syntax
=DRAGON_INVENTORY_LEDGER(account, [ASIN/SKU], [marketplace], [period], [FC], [event type], [disposition], [columns], [header], [transpose])
Parameters in [brackets] are optional. Leave an optional parameter blank to include everything.
This page is also available inside Sheets – type
=DRAGON_INVENTORY_LEDGER("help") in any cell to get the same reference without leaving your spreadsheet.Sample output
Example output from the Nordvik demo store – your sheet shows your own store's data.
A1fx
=DRAGON_INVENTORY_LEDGER("Nordvik", "", "US", "last 30 days")| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | marketplace | sku | ledger_date | fnsku | asin | event_type | reference_id | quantity | … |
| 2 | US | NV-HAT-CHARCOAL | 2026-10-12 | X0KNIT0101 | B0KNIT0101 | – | – | 85 | … 8 more |
| 3 | US | NV-HAT-NAVY | 2026-10-11 | X0KNIT0104 | B0KNIT0104 | – | – | 19 | … 8 more |
| 4 | US | NV-TEE-BLACK-L | 2026-10-10 | X0KNIT0109 | B0KNIT0109 | – | – | 50 | … 8 more |
| 5 | US | NV-SWT-CHARCOAL-L | 2026-10-09 | X0KNIT0121 | B0KNIT0121 | – | – | 81 | … 8 more |
Parameters
| Parameter | Required | Description |
|---|---|---|
| account | Required | Account nickname, account number (1, 2, ...) or Amazon account id. Leave empty if you have only one account. |
| ASIN/SKU | Optional | Optional ASIN, SKU, or a list separated by ;. Also accepts a cell range like A2:A100 or INDIRECT() pointing to a list. |
| marketplace | Optional | Optional marketplace/country code such as US, CA, or MX. |
| period | Optional | Optional period such as last 90 days, 2026-04, or 2026. Default: last 90 days. |
| FC | Optional | Optional FC filter. |
| event type | Optional | Optional ledger event type filter. |
| disposition | Optional | Optional inventory disposition filter. |
| columns | Optional | Optional output columns separated by ;. |
| header | Optional | Use no, false, or 0 to suppress the output header row. Default: Yes. |
| transpose | Optional | Use yes, true, or 1 to transpose the output. |
The period accepts values like last_30_days, this_month, 2026Q1, or ranges like 2026-01-01..today – see the full period reference.
Columns
Columns are evaluated left to right: a field or group name adds columns, a leading - removes them. default and all select the default or full column set.
| Column | Default | Description |
|---|---|---|
| seller_id | No | Seller id. |
| marketplace | Yes | Marketplace. |
| marketplace_id | No | Marketplace id. |
| sku | Yes | Sku. |
| ledger_date | Yes | Ledger date. |
| ledger_date_time | No | Ledger date time. |
| fnsku | Yes | Fnsku. |
| asin | Yes | Asin. |
| event_type | Yes | Event type. |
| reference_id | Yes | Reference id. |
| quantity | Yes | Quantity. |
| fulfillment_center | Yes | FC. |
| disposition | Yes | Disposition. |
| reason | Yes | Reason. |
| warehouse_city | Yes | Warehouse city. |
| warehouse_state | Yes | Warehouse state. |
| country | Yes | Country. |
| warehouse_country | No | Warehouse country. |
| reconciled_quantity | Yes | Reconciled quantity. |
| unreconciled_quantity | Yes | Unreconciled quantity. |
| store | No | Store. |
Examples
=DRAGON_INVENTORY_LEDGER("Mystore", "B0MYASIN01", "US", "last 30 days")