{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skavio-eu/json-schema/skavio-eu-invoice-schema.json",
  "title": "Invoice",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/skavio-eu-proof-openapi.json#/components/schemas/Invoice",
  "properties": {
    "customer_id": {
      "type": "string"
    },
    "due_at": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "issued_at": {
      "type": "integer"
    },
    "items": {
      "items": {
        "type": "object"
      },
      "type": "array"
    },
    "network": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "payment_atomic": {
      "description": "Native USDC atomic units (six decimals); pay exact amount including matching delta.",
      "minimum": 1,
      "type": "integer"
    },
    "receiver": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "tax_atomic": {
      "type": "integer"
    },
    "total_atomic": {
      "description": "Native USDC atomic units (six decimals); pay exact amount including matching delta.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "id",
    "request_id",
    "status",
    "payment_atomic"
  ],
  "type": "object"
}