Invoices
View as Markdown

List invoices

Needs the invoices:read scope, or a full-access key. About scopes

GET
/api/v1/invoices

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Query Parameters

limitstring

Page size, at most 100 (default 20).

cursorstring

next_cursor from the previous page.

statusstring

Value in: "draft" | "finalized" | "paid" | "void" | "uncollectible"

customer_idstring

Only this customer’s invoices.

Format: "uuid"

customer_external_idstring

Only the invoices of the customer with this external id.

curl -X GET "https://globalymint.com/api/v1/invoices?limit=string&cursor=string&status=draft&customer_id=3fa85f64-5717-4562-b3fc-2c963f66afa6&customer_external_id=string" \
  -H "Authorization: Bearer <token>"

Invoices for the caller’s tenant.

{
  "data": {
    "items": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "status": "draft",
        "sequentialNumber": "string",
        "currency": "USD",
        "subtotalCents": "1999",
        "discountCents": "1999",
        "creditAppliedCents": "1999",
        "taxCents": "1999",
        "totalCents": "1999",
        "amountPaidCents": "1999",
        "manualPayment": {
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "method": "bank_transfer",
          "reference": "string",
          "amountCents": "1999",
          "receivedOn": "2019-08-24"
        }
      }
    ]
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}