{
  "iss": "https://issuer.example",
  "iss_reg_id": "VATPT-000000000",
  "vct": "https://openbusinesstrust.eu/vct/receipt/v0",
  "vct#integrity": "sha256-7RJ2WKGW/mLrdvnLoHwg3RKZlUnDilk4xGRNIC6xC7A=",
  "jti": "5QK2V8M3XJ7TFA9W4N6PB1HDQ7",
  "iat": 1799920920,
  "nbf": 1799920920,
  "exp": 2145916800,
  "status": {
    "status_list": {
      "idx": 731044,
      "uri": "https://openbusinesstrust.eu/status/issuer-example/receipts/1"
    }
  },
  "rev_id": "15993721004415",
  "code_lists": {
    "en16931": "v17b"
  },
  "document": {
    "type": "380",
    "number": "FT 2027/118",
    "issue_date": "2027-01-14",
    "supply_date": "2027-01-13",
    "currency": "EUR",
    "net": "1000.00",
    "vat": "0.00",
    "gross": "1000.00",
    "file_sha256": "3b1f8e5a0c2d4f6a8b9c1d2e3f405162738495a6b7c8d9e0f1a2b3c4d5e6e09a",
    "gobl": {
      "uuid": "01a1f0a1-f24b-7704-9063-86aebba26247",
      "dig": {
        "alg": "sha256",
        "val": "8bb11092c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d1148"
      }
    },
    "source": "issued_by_issuer",
    "address": "https://issuer.example/obt/r/7Qv2Kx9LmN4pR8sT1wZ3bY",
    "line_count": 1
  },
  "seller": {
    "country": "PT",
    "vat_id_on_document": true,
    "tax_id": "PT123456789"
  },
  "buyer": {
    "country": "DE",
    "is_business": true,
    "business_proof": "vies_number_valid",
    "vat_id_on_document": true,
    "tax_id": "DE123456788"
  },
  "made_by": {
    "kind": "connected_app",
    "app": "app_3k9q",
    "may_issue": true
  },
  "decisions": [
    {
      "lines": "all",
      "net": "1000.00",
      "vat": "0.00",
      "place_of_supply": {
        "country": "DE",
        "rule": "general_service"
      },
      "treatment": "taxable",
      "liability": {
        "who": "customer",
        "basis": "art_196"
      },
      "rate": "0",
      "vat_category": "AE",
      "vatex": "VATEX-EU-AE",
      "law": [
        {
          "act": "http://data.europa.eu/eli/dir/2006/112/oj",
          "article": "44"
        },
        {
          "act": "http://data.europa.eu/eli/dir/2006/112/oj",
          "article": "196"
        },
        {
          "act": "PT-CIVA",
          "article": "6.º n.º 6 a)",
          "reading": "a_contrario"
        }
      ],
      "basis": {
        "facts": [
          {
            "kind": "seller_establishment",
            "source": "seller_stated"
          },
          {
            "kind": "buyer_taxable_status",
            "source": "checked"
          },
          {
            "kind": "buyer_location",
            "source": "seller_stated"
          },
          {
            "kind": "supply_nature",
            "source": "seller_stated"
          }
        ]
      },
      "engine": {
        "id": "example-vat",
        "version": "1.4.0",
        "data": "rates:2027-01-01;rules:2027-01-01;thresholds:2026-10-01",
        "decision_id": "vd01JHB2Q9W3kT7mZp4xR2sQ",
        "inputs_commitment": "hmac-sha256:QTFjOWVkMmY0YjZhOGMwZTJkNGY2YThiMGMyZTRmNmE"
      },
      "pt": {
        "saft_exemption_code": "M40",
        "mention": "IVA - autoliquidação"
      }
    }
  ],
  "withholding": {
    "applies": false,
    "known_at": "issue"
  },
  "checks": [
    {
      "what": "buyer_vat_number",
      "source": "VIES",
      "result": {
        "number": "valid",
        "name_address": "not_returned"
      },
      "time": "2027-01-14T10:01:03Z",
      "by": "VATPT-000000000",
      "proof_digest": "blinded-sha256:W1sxZTU5YjFlNGQ3YzJhOGYwZTZkNGIyYzBhOGU2ZjQ",
      "reference": "WAPIAAAAW1kFo2x7"
    },
    {
      "what": "app_may_issue",
      "source": "ISSUER",
      "result": "valid",
      "time": "2027-01-14T10:00:10Z",
      "by": "VATPT-000000000"
    }
  ],
  "report": [
    {
      "to": "PT-AT",
      "regime": "PT-EFATURA",
      "by": "issuer",
      "result": "accepted",
      "time": "2027-01-14T10:01:58Z"
    }
  ],
  "assurance": {
    "treatment": "correct",
    "terms": "https://issuer.example/obt/receipt-terms/v0",
    "terms#integrity": "sha256-Pq9vF3kL0mN2bR7xT4cW1yZ8aE5sD6gH9jK2lQ3uV0o="
  },
  "pt": {
    "atcud": "ABCD1234-118",
    "hash_chars": "Xk3p",
    "certified_program": "3071",
    "kind": "FT"
  }
}
