---
title: "POST /invoices/batch-get"
method: POST
path: "/invoices/batch-get"
tags: ["Invoices"]
---

# POST /invoices/batch-get

`POST /invoices/batch-get`

Retrieves multiple invoices.

## Request body

- BatchGetInvoicesRequest — Request body for retrieving multiple invoices.
  - `ids` string[], required — Invoice ids to retrieve. Up to 200 per request.

## Response `200`

Success

- BatchGetInvoicesResponse — Result of a batch invoice retrieval.
  - `data` BatchGetInvoicesResponseData, required — Result of a batch invoice retrieval.
    - `invoices` InvoiceDetail[], required — Invoices that were found, in request order.
      - `id` string, required — Unique invoice ID.
      - `workspace_id` string, required — Workspace the invoice belongs to.
      - `status` 'active', required — Status of the invoice. Deprecated.
      - `line_items` InvoiceLineItem[] — Line items for the invoice.
        - `id` string, required — FRAGMENT generated unique ID.
        - `type` 'payin' | 'payout', required — Type of the line item.
        - `product_id` string, required — Unique identifier for the product.
        - `amount` string, required — Total amount as a string in the smallest currency unit, such as cents for USD. Deprecated, use price.amount instead.
        - `price` Price, required — Price breakdown.
          - `amount` string, required — Total amount as a string in the smallest currency unit, such as cents for USD.
          - `unit_price` string, required — Unit price as a string in the smallest currency unit, such as cents for USD.
          - `quantity` integer, required — Number of units.
        - `currency_code` 'ADA' | 'BTC' | 'DAI' | 'ETH' | 'SOL' | 'USDC' | 'USDT' | 'USDG' | 'EURC' | 'CADC' | 'CADT' | 'XLM' | 'UNI' | 'BCH' | 'LTC' | 'AAVE' | 'LINK' | 'MATIC' | 'PTS' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'SVC' | 'SYP' | 'STN' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'LOGICAL' | 'CUSTOM', required — ISO 4217 or crypto currency code.
        - `description` string, required — Description of the line item.
        - `user_id` string, required — User-provided unique external ID.
        - `tags` Tag[], required — Tags for the line item.
          - `key` string, required — Tag key.
          - `value` string, required — Tag value.
      - `created` string, date-time, required — Timestamp when the invoice was created. Uses ISO 8601 format.
      - `modified` string, date-time — Timestamp when the invoice was last modified. Uses ISO 8601 format.
      - `version` number, required — Current version of the invoice.
      - `tags` Tag[], required — Tags for the invoice.
        - `key` string, required — Tag key.
        - `value` string, required — Tag value.
      - `users` UserBalances[], required — Users involved in the invoice.
        - `id` string, required — User-provided unique external ID.
        - `external_id` string, required — User-provided unique ID.
        - `balances` CurrencyBalance[], required — Per-currency balance breakdown for the user.
          - `payins` CurrencyBalanceBreakdownPayinsResponse, required — Payins balance breakdown.
            - `expected` string, required — Expected amount as a string in the smallest currency unit, such as cents for USD.
            - `actual` string, required — Actual amount as a string in the smallest currency unit, such as cents for USD.
            - `remaining` string, required — Remaining amount as a string in the smallest currency unit, such as cents for USD.
          - `payouts` CurrencyBalanceBreakdownPayoutsResponse, required — Payouts balance breakdown.
            - `expected` string, required — Expected amount as a string in the smallest currency unit, such as cents for USD.
            - `actual` string, required — Actual amount as a string in the smallest currency unit, such as cents for USD.
            - `remaining` string, required — Remaining amount as a string in the smallest currency unit, such as cents for USD.
          - `net` CurrencyBalanceBreakdownNetResponse, required — Net balance breakdown.
            - `expected` string, required — Expected amount as a string in the smallest currency unit, such as cents for USD.
            - `actual` string, required — Actual amount as a string in the smallest currency unit, such as cents for USD.
            - `remaining` string, required — Remaining amount as a string in the smallest currency unit, such as cents for USD.
          - `currency` string, required — ISO 4217 or crypto currency code.
      - `balances` CurrencyBalance[], required — Invoice-level balances by currency.
        - `payins` CurrencyBalanceBreakdownPayinsResponse, required — Payins balance breakdown.
          - `expected` string, required — Expected amount as a string in the smallest currency unit, such as cents for USD.
          - `actual` string, required — Actual amount as a string in the smallest currency unit, such as cents for USD.
          - `remaining` string, required — Remaining amount as a string in the smallest currency unit, such as cents for USD.
        - `payouts` CurrencyBalanceBreakdownPayoutsResponse, required — Payouts balance breakdown.
          - `expected` string, required — Expected amount as a string in the smallest currency unit, such as cents for USD.
          - `actual` string, required — Actual amount as a string in the smallest currency unit, such as cents for USD.
          - `remaining` string, required — Remaining amount as a string in the smallest currency unit, such as cents for USD.
        - `net` CurrencyBalanceBreakdownNetResponse, required — Net balance breakdown.
          - `expected` string, required — Expected amount as a string in the smallest currency unit, such as cents for USD.
          - `actual` string, required — Actual amount as a string in the smallest currency unit, such as cents for USD.
          - `remaining` string, required — Remaining amount as a string in the smallest currency unit, such as cents for USD.
        - `currency` string, required — ISO 4217 or crypto currency code.
      - `payments` InvoicePayment[], required — Payments allocated to the invoice.
        - `amount` string, required — Amount allocated as a string in the smallest currency unit, such as cents for USD.
        - `currency` 'ADA' | 'BTC' | 'DAI' | 'ETH' | 'SOL' | 'USDC' | 'USDT' | 'USDG' | 'EURC' | 'CADC' | 'CADT' | 'XLM' | 'UNI' | 'BCH' | 'LTC' | 'AAVE' | 'LINK' | 'MATIC' | 'PTS' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'SVC' | 'SYP' | 'STN' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'LOGICAL' | 'CUSTOM', required — ISO 4217 or crypto currency code.
        - `transaction` InvoicePaymentTransactionReferenceResponse, required — Transaction the payment is applied to.
          - `id` string, required — FRAGMENT generated unique ID.
          - `external_id` string, required — User-provided unique ID.
          - `tags` Tag[], required — Tags from the parent transaction.
            - `key` string, required — Tag key.
            - `value` string, required — Tag value.
        - `type` 'payin' | 'payout', required — Type of the payment.
        - `posted` string, date-time, required — Timestamp when the parent transaction was posted. Uses ISO 8601 format.
        - `user` InvoicePaymentUserReferenceResponse, required — User associated with the payment.
          - `id` string, required — FRAGMENT generated unique ID.
          - `external_id` string, required — User-provided unique ID.
    - `not_found` string[], required — Ids from the request that did not match any invoice.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-05-11** `91a072ddf86d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/fragment-dev/apis/fragment-payments-api/changes/invoices/batch-get/post.md)

---

[API](https://skmtc.dev/fragment-dev/apis/fragment-payments-api.md) · [All operations](https://skmtc.dev/fragment-dev/apis/fragment-payments-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fragment-dev/fragment-payments-api/revisions/41ca2c686012/schema)
