{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-edt-details-response-vo-schema.json",
  "title": "EdtDetailsResponseVO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-dutiestaxes-api-openapi.yml#/components/schemas/EdtDetailsResponseVO",
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "The transaction ID is a special set of numbers that defines each transaction."
    },
    "customerTransactionId": {
      "type": "string",
      "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply"
    },
    "output": {
      "$ref": "#/$defs/Output"
    }
  },
  "$defs": {
    "CostDetail": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "The calculated cost amount.",
          "format": "double"
        },
        "currency": {
          "type": "string",
          "description": "The currency code associated with the price (e.g., USD)."
        },
        "description": {
          "type": "string",
          "description": "A description of the cost type."
        },
        "formula": {
          "type": "string",
          "description": "The formula used to calculate the cost."
        },
        "note": {
          "type": "string",
          "description": "Additional notes about the cost."
        }
      }
    },
    "EdtDetails": {
      "type": "object",
      "properties": {
        "duties": {
          "type": "array",
          "description": "A list of import duty charges.",
          "items": {
            "$ref": "#/$defs/CostDetail"
          }
        },
        "fees": {
          "type": "array",
          "description": "A list of additionnal fees.",
          "items": {
            "$ref": "#/$defs/CostDetail"
          }
        },
        "taxes": {
          "type": "array",
          "description": "A list of tax charges.",
          "items": {
            "$ref": "#/$defs/CostDetail"
          }
        },
        "summary": {
          "$ref": "#/$defs/Summary"
        }
      },
      "description": "The estimated duties and taxes details for the shipment."
    },
    "Output": {
      "type": "object",
      "properties": {
        "edtDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EdtDetails"
          }
        }
      }
    },
    "Summary": {
      "type": "object",
      "properties": {
        "totalDuty": {
          "type": "number",
          "description": "The total import duty amount.",
          "format": "double"
        },
        "totalFees": {
          "type": "number",
          "description": "The total fee amount.",
          "format": "double"
        },
        "totalShippingCosts": {
          "type": "number",
          "description": "The total shipping cost amount.",
          "format": "double"
        },
        "totalTaxes": {
          "type": "number",
          "description": "The total tax amount.",
          "format": "double"
        },
        "totalLandedCost": {
          "type": "number",
          "description": "The total landed cost including duties, taxes, fees, and shipping.",
          "format": "double"
        },
        "currency": {
          "type": "string",
          "description": "The currency code associated with the price (e.g., USD)."
        }
      }
    }
  }
}