Skip to content
Preview of the Marketplace payout statement template

210 × 297 mm

Statements

Marketplace payout statement

An A4 seller payout statement with German number and date formatting and English labels: gross sales, refunds and fees derived from order and fee lines, fees grouped by type with subtotals, a share-of-sales bar drawn in SVG, the payout date and account, and an orders table.

PDFA4 portraitLocale en-DEHTML + JinjaHeader & footer

Opens Dynamic Document API with this template preloaded in a free workspace.

Template language features

  • Loops
  • Conditionals
  • Macros
  • Filters
  • Currency formatting
  • Number formatting
  • Date formatting
  • Markdown
  • Grouping
  • SVG chart
  • Repeating table headers
  • Header & footer
  • Page numbers

Filters such as format_currency and qrcode are described in the template language reference.

Variables

Derived from the sample data: 7 top-level fields, 40 paths in total. Send the same shape as data.

PathTypeExample
marketplaceobject
marketplace.namestring"Loomwell Market"
marketplace.legal_namestring"Loomwell Market GmbH"
marketplace.addressstring"Kranhausweg 12, 20457 Hamburg, Germany"
marketplace.vat_idstring"DE123456789"
marketplace.support_emailstring"seller-support@loomwell.example.com"
sellerobject
seller.shop_namestring"Atelier Birkenhain"
seller.ownerstring"Friederike Almstedt"
seller.seller_idstring"LW-S-208814"
seller.addressstring"Gießerstraße 41 ⏎ 04229 Leipzig ⏎ Germany"
seller.vat_idstring"DE987654321"
statementobject
statement.numberstring"PS-2026-09B-208814"
statement.period_startdate"2026-09-01"
statement.period_enddate"2026-09-15"
statement.payout_datedate"2026-09-18"
statement.currencystring"EUR"
statement.localestring"de-DE"
payout_accountobject
payout_account.holderstring"Friederike Almstedt"
payout_account.bankstring"Nordwall Sparbank"
payout_account.ibanstring"DE00 EXMP 0000 0012 3456 78"
payout_account.bicstring"EXMPDEHHXXX"
ordersarray<object> · 8
orders[].numberstring"LW-7734102"
orders[].datedate"2026-09-01"
orders[].itemsnumber2
orders[].ship_tostring"DE"
orders[].grossnumber84.5
orders[].refundednumber0
feesarray<object> · 24
fees[].typestring"Commission"
fees[].referencestring"LW-7734102"
fees[].descriptionstring"Returned on refund"
fees[].ratenumber0.1
fees[].basisnumber84.5
fees[].fixednumber0.3
fees[].amountnumber8.45
notesstring"Payouts are sent on the third business day aft…"

Render it with the API

After adding the template to your workspace, render it by ID and pass your data. Arrays are shortened here.

curl -X POST https://api-eu.dynamicdocumentapi.com/v1/renders \
  -H "Authorization: Bearer $DYNAMIC_DOCUMENT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "type": "template",
    "template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
  },
  "data": {
    "marketplace": {
      "name": "Loomwell Market",
      "legal_name": "Loomwell Market GmbH",
      "address": "Kranhausweg 12, 20457 Hamburg, Germany",
      "vat_id": "DE123456789",
      "support_email": "seller-support@loomwell.example.com"
    },
    "seller": {
      "shop_name": "Atelier Birkenhain",
      "owner": "Friederike Almstedt",
      "seller_id": "LW-S-208814",
      "address": "Gießerstraße 41\n04229 Leipzig\nGermany",
      "vat_id": "DE987654321"
    },
    "statement": {
      "number": "PS-2026-09B-208814",
      "period_start": "2026-09-01",
      "period_end": "2026-09-15",
      "payout_date": "2026-09-18",
      "currency": "EUR",
      "locale": "de-DE"
    },
    "payout_account": {
      "holder": "Friederike Almstedt",
      "bank": "Nordwall Sparbank",
      "iban": "DE00 EXMP 0000 0012 3456 78",
      "bic": "EXMPDEHHXXX"
    },
    "orders": [
      {
        "number": "LW-7734102",
        "date": "2026-09-01",
        "items": 2,
        "ship_to": "DE",
        "gross": 84.5,
        "refunded": 0
      },
      {
        "number": "LW-7734377",
        "date": "2026-09-02",
        "items": 3,
        "ship_to": "AT",
        "gross": 129,
        "refunded": 24
      }
    ],
    "fees": [
      {
        "type": "Commission",
        "reference": "LW-7734102",
        "description": null,
        "rate": 0.1,
        "basis": 84.5,
        "fixed": null,
        "amount": 8.45
      },
      {
        "type": "Commission",
        "reference": "LW-7734377",
        "description": null,
        "rate": 0.1,
        "basis": 129,
        "fixed": null,
        "amount": 12.9
      }
    ],
    "notes": "Payouts are sent on the third business day after the period closes and usually arrive within one business day. A fee invoice with VAT details for this period is available under **Seller Hub › Documents**. Questions about a line? Quote the statement number when you contact seller support."
  },
  "output": {
    "format": "pdf",
    "filename": "statement-marketplace-payout.pdf"
  }
}'