versa_semval 0.7.2

Cross-platform module for semantic validation of Versa data
Documentation
{
  "schema_version": "2.0.0",
  "header": {
    "invoice_number": "1MzFN1K8F4fqH0lBmFq8CjbU",
    "currency": "usd",
    "total": 140000,
    "subtotal": 120000,
    "paid": 140000,
    "invoiced_at": 1713295619,
    "mcc": null,
    "third_party": null,
    "customer": null,
    "location": {
      "address": {
        "tz": null
      }
    },
    "receipt_asset_id": null,
    "invoice_asset_id": null
  },
  "itemization": {
    "general": null,
    "lodging": null,
    "ecommerce": null,
    "car_rental": null,
    "transit_route": null,
    "subscription": null,
    "flight": {
      "tickets": [
        {
          "taxes": [],
          "segments": [
            {
              "fare": 60000,
              "departure_airport_code": "MSP",
              "arrival_airport_code": "SEA",
              "aircraft_type": "B3XM",
              "departure_at": 1713905000,
              "arrival_at": 1713918000,
              "departure_tz": "America/Chicago",
              "arrival_tz": "America/Los_Angeles",
              "flight_number": "DL2536",
              "class_of_service": "k",
              "seat": "12B",
              "taxes": [
                {
                  "amount": 10000,
                  "rate": 0.075,
                  "name": "US Transportation Tax"
                }
              ],
              "adjustments": [],
              "metadata": []
            }
          ],
          "number": "0062698215636",
          "record_locator": "CU9GEF",
          "passenger": "Susy Smith",
          "metadata": [{ "key": "AAdvantage #", "value": "TH4700" }]
        },
        {
          "taxes": [],
          "segments": [
            {
              "fare": 60000,
              "departure_airport_code": "MSP",
              "arrival_airport_code": "SEA",
              "aircraft_type": "B3XM",
              "departure_at": 1713905000,
              "arrival_at": 1713918000,
              "departure_tz": "America/Chicago",
              "arrival_tz": "America/Los_Angeles",
              "flight_number": "DL2536",
              "class_of_service": "k",
              "seat": "16C",
              "taxes": [
                {
                  "amount": 10000,
                  "rate": 0.075,
                  "name": "US Transportation Tax"
                }
              ],
              "adjustments": [],
              "metadata": []
            }
          ],
          "number": "0062698215637",
          "record_locator": "CU9GEF",
          "passenger": "John Smith",
          "metadata": [{ "key": "AAdvantage #", "value": "TH4703" }]
        }
      ],
      "itinerary_locator": "1122337694093",
      "invoice_level_adjustments": []
    }
  },
  "footer": {
    "actions": [],
    "supplemental_text": "You have 24 hours from the time you first buy your ticket to make changes or cancel for a refund if you booked at least 2 days before departure."
  },
  "payments": [
    {
      "amount": 140000,
      "paid_at": 1713295619,
      "payment_type": "card",
      "card_payment": { "last_four": "4886", "network": "mastercard" },
      "ach_payment": null
    }
  ]
}