v1

latestOpenAPI 3.1.0AGPL-3.0-only2026-07-1773264353.7 KB
Invoices

Get invoice

Retrieve a single invoice with its payment transactions.

get/api/v1/invoices/{invoice_id}

Path parameters

invoice_idstring MeteroidId required
Example:inv_7n42DGM5Tflk9n8mt7Fhc7

Invoice ID

Response

Invoice details

amount_dueinteger required
applied_creditsinteger required
created_atstring date-time required
currency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNH' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | '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' | 'MRU' | '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' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL' required
customer_idstring MeteroidId required
due_datestring date nullable
finalized_atstring date-time nullable
idstring MeteroidId required
invoice_datestring date required
invoice_numberstring required
invoice_type'RECURRING' | 'ONE_OFF' | 'ADJUSTMENT' | 'USAGE_THRESHOLD' required
marked_as_uncollectible_atstring date-time nullable
memostring nullable
net_termsinteger required
paid_atstring date-time nullable
payment_status'UNPAID' | 'PARTIALLY_PAID' | 'PAID' | 'ERRORED' required
purchase_orderstring nullable
referencestring nullable
status'DRAFT' | 'FINALIZED' | 'UNCOLLECTIBLE' | 'VOID' required
subscription_idstring MeteroidId
subtotalinteger required
subtotal_recurringinteger required
tax_amountinteger required
totalinteger required
updated_atstring date-time nullable
voided_atstring date-time nullable

Example response

{
  "currency": "EUR",
  "customer_details": {
    "billing_address": {
      "country": "US"
    },
    "id": "cus_7n42DGM5Tflk9n8mt7Fhc7"
  },
  "customer_id": "cus_7n42DGM5Tflk9n8mt7Fhc7",
  "id": "inv_7n42DGM5Tflk9n8mt7Fhc7",
  "subscription_id": "sub_7n42DGM5Tflk9n8mt7Fhc7",
  "transactions": [
    {
      "id": "pay_7n42DGM5Tflk9n8mt7Fhc7",
      "payment_method_id": "pm_7n42DGM5Tflk9n8mt7Fhc7"
    }
  ]
}