Radar

Home › Guides

How to Export Full-Year Amazon Order History and Invoices to Excel for Bookkeeping

2026-11-30

At year-end tax time, Amazon's standard order history shows only 10 orders per page and no longer offers a simple one-click CSV report for personal accounts. If you have 80–300 business purchases across amazon.com, amazon.de, or amazon.co.uk, clicking every order manually takes hours.

Below is how to parse Amazon order cards cleanly in your own browser session (keeping your login 100% local), plus a 1-click browser extension that automates full-year pagination and monthly Excel summaries.

Option 1: Extract the Current Amazon Orders Page with JavaScript

While logged into Your Orders on Amazon, you can inspect the rendered order cards directly in DevTools Console:

(() => {
  const origin = location.origin;
  const seen = new Set();
  const rows = [["Order Date", "Order ID", "Total", "Items", "Invoice URL"]];

  document.querySelectorAll(".order-card, .order, .js-order-card, [data-order-id]").forEach((card) => {
    const text = (card.innerText || "").replace(/\s+/g, " ");
    const idMatch = text.match(/(\d{3}-\d{7}-\d{7})/);
    if (!idMatch || seen.has(idMatch[1])) return;
    seen.add(idMatch[1]);

    const orderId = idMatch[1];
    let dateStr = "", totalStr = "";
    card.querySelectorAll(".a-color-secondary.value, .yohtmlc-order-level-info .a-size-base, .order-header .a-size-base").forEach((el) => {
      const t = (el.textContent || "").trim();
      if (!t || t.includes(orderId)) return;
      if (!totalStr && /(€|\$|£|EUR|USD|GBP)\s*[\d.,]+|[\d.,]+\s*(€|\$|£|EUR|USD|GBP)/i.test(t)) totalStr = t;
      else if (!dateStr && /20\d{2}/.test(t) && t.length < 40) dateStr = t;
    });

    const items = Array.from(card.querySelectorAll(".yohtmlc-product-title, a[href*='/dp/']"))
      .map((a) => (a.textContent || "").trim())
      .filter((t) => t.length > 3)
      .slice(0, 5)
      .join(" | ");

    const invoiceUrl = `${origin}/gp/css/summary/print.html/ref=oh_aui_ajax_invoice?orderID=${orderId}`;
    rows.push([dateStr, orderId, totalStr, items, invoiceUrl]);
  });

  const esc = (v) => `"${String(v ?? "").replace(/"/g, '""')}"`;
  const csv = "" + rows.map((r) => r.map(esc).join(",")).join("
");
  const a = document.createElement("a");
  a.href = URL.createObjectURL(new Blob([csv], { type: "text/csv;charset=utf-8" }));
  a.download = `amazon-orders-page.csv`;
  a.click();
})();

Handling EU vs US decimal formats

Option 2: Full-Year Multi-Page Export in 1 Click (InvoiceBox)

If you want automatic pagination across an entire year (2024, 2025, or 2026), normalized numeric amounts across 11 Amazon marketplaces, a 3-sheet Excel workbook (Orders, By Month, Summary), and a bulk printable invoice index—100% locally in your browser without sharing your Amazon login—try InvoiceBox:

Free exports up to 10 orders per scan; unlimited full-year exports unlock with a one-time €4.99 Radar Pass (30 days, never auto-renews).

Disclosure: This guide was written with AI assistance by the RadarBG team, and InvoiceBox is our own product. If Amazon changes markup on your locale, tell us at radarbg.com/support and we fix it.

More guides

EN