{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/genesispay-finance/json-schema/genesispay-finance-post-api-v1-invoices-response-schema.json",
  "title": "PostApiV1InvoicesResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/genesispay-finance-openapi-generated.yml#/components/schemas/PostApiV1InvoicesResponse",
  "type": "object",
  "properties": {
    "invoice.publicId": {
      "type": "string"
    },
    "invoice.invoiceNumber": {
      "type": "string"
    },
    "invoice.status": {
      "type": "string"
    },
    "invoice.asset": {
      "type": "string"
    },
    "invoice.chainId": {
      "type": "integer"
    },
    "invoice.customer": {
      "type": "object"
    },
    "invoice.lineItems": {
      "type": "array"
    },
    "invoice.subtotalMinor": {
      "type": "string"
    },
    "invoice.discountBps": {
      "type": "integer"
    },
    "invoice.discountMinor": {
      "type": "string"
    },
    "invoice.taxBps": {
      "type": "integer"
    },
    "invoice.taxMinor": {
      "type": "string"
    },
    "invoice.totalMinor": {
      "type": "string"
    },
    "invoice.dueAt": {
      "type": "string"
    },
    "invoice.hostedInvoiceUrl": {
      "type": "string"
    },
    "invoice.pdfUrl": {
      "type": "string"
    },
    "invoice.payment.payUrl": {
      "type": "string"
    },
    "invoice.payment.txHash": {
      "type": "string"
    },
    "invoice.payment.payerWallet": {
      "type": "string"
    }
  }
}