{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ansvra-com/json-schema/ansvra-com-get-account-invoices-response-schema.json",
  "title": "GetAccountInvoicesResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ansvra-com-openapi-generated.yml#/components/schemas/GetAccountInvoicesResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "List this account’s invoices."
    },
    "data.id": {
      "type": "string",
      "description": "Saved invoice id."
    },
    "data.number": {
      "type": "string",
      "description": "Saved invoice number."
    },
    "data.status": {
      "type": "string",
      "description": "Saved invoice status."
    },
    "data.currency": {
      "type": "string",
      "description": "Saved invoice currency."
    },
    "data.subtotal": {
      "type": "integer",
      "description": "Saved invoice subtotal."
    },
    "data.total": {
      "type": "integer",
      "description": "Saved invoice total."
    },
    "data.amountPaid": {
      "type": "integer",
      "description": "Saved invoice amountPaid."
    },
    "data.amountDue": {
      "type": "integer",
      "description": "Saved invoice amountDue."
    },
    "data.issuedAt": {
      "type": "string",
      "description": "Saved invoice issuedAt."
    },
    "data.dueAt": {
      "type": "string",
      "description": "Saved invoice dueAt."
    },
    "data.periodStart": {
      "type": "string",
      "description": "Saved invoice periodStart."
    },
    "data.periodEnd": {
      "type": "string",
      "description": "Saved invoice periodEnd."
    },
    "pagination": {
      "type": "object",
      "description": "Cursor pagination for resource lists."
    },
    "pagination.hasMore": {
      "type": "boolean",
      "description": "Whether another page exists."
    },
    "pagination.nextCursor": {
      "type": "string",
      "description": "Pass this unchanged as cursor with the same key, path, limit and filters."
    },
    "meta": {
      "type": "object",
      "description": "Request metadata."
    },
    "meta.requestId": {
      "type": "string",
      "description": "Request identifier to include when contacting support."
    },
    "meta.resultScope": {
      "type": "string",
      "description": "\"saved\""
    }
  }
}