{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/payments-ai/json-schema/payments-ai-public-api-checkout-receipt-response-schema.json",
  "title": "PublicApiCheckoutReceiptResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/payments-ai-checkout-api-openapi.yml#/components/schemas/PublicApiCheckoutReceiptResponse",
  "type": "object",
  "required": [
    "subtotal",
    "taxAmount",
    "total",
    "currency",
    "taxBehavior"
  ],
  "properties": {
    "subtotal": {
      "type": "number",
      "format": "double"
    },
    "taxAmount": {
      "type": "number",
      "format": "double"
    },
    "total": {
      "type": "number",
      "format": "double"
    },
    "currency": {
      "type": "string"
    },
    "taxBehavior": {
      "type": "string",
      "enum": [
        "exclusive",
        "inclusive"
      ]
    }
  }
}