{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/packetexchange-io/json-schema/packetexchange-io-get-api-v1-billing-tax-invoices-id-response-schema.json",
  "title": "GetApiV1BillingTaxInvoicesIdResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/packetexchange-io-openapi-generated.yml#/components/schemas/GetApiV1BillingTaxInvoicesIdResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "Tax invoice object"
    },
    "data.id": {
      "type": "string",
      "description": "Tax invoice UUID"
    },
    "data.seq": {
      "type": "integer",
      "description": "Gap‑free per‑account sequence number"
    },
    "data.number": {
      "type": "string",
      "description": "Tax invoice number"
    },
    "data.period": {
      "type": "string",
      "description": "YYYY‑MM period"
    },
    "data.periodStart": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC) start of period"
    },
    "data.periodEnd": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC) end of period"
    },
    "data.currency": {
      "type": "string",
      "description": "Currency code"
    },
    "data.subtotal": {
      "type": "string",
      "description": "Decimal string subtotal"
    },
    "data.taxAmount": {
      "type": "string",
      "description": "Decimal string tax amount"
    },
    "data.total": {
      "type": "string",
      "description": "Decimal string total"
    },
    "data.createdAt": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC) when created"
    },
    "data.dataJson": {
      "type": "object",
      "description": "Frozen line items and tax section as issued (nullable)"
    }
  }
}