{
  "Version": "1.0",
  "CountryCode": "CR",
  "Header": {
      "DocType": "09",
      "IssuedDateTime": "2024-11-14T16:30:00-06:00",
      "AdditionalIssueType": "2",
      "AdditionalIssueDocInfo": {
          "Info": [
              {
                  "@_Name": "CodigoActividad",
                  "@_Data": null,
                  "@_Value": "000001"
              },
              {
                  "@_Name": "CondicionVenta",
                  "@_Data": null,
                  "@_Value": "01"
              },
              {
                  "@_Name": "CodigoPais",
                  "@_Data": null,
                  "@_Value": "506"
              },
              {
                  "@_Name": "Consecutivo",
                  "@_Data": null,
                  "@_Value": "0000000001"
              },
              {
                  "@_Name": "SituacionComprobante",
                  "@_Data": null,
                  "@_Value": "1"
              },
              {
                  "@_Name": "CodigoSeguridad",
                  "@_Data": null,
                  "@_Value": "00000001"
              }
          ]
      }
  },
  "Seller": {
      "TaxID": "3102891418",
      "TaxIDType": "02",
      "Name": "DIGIFACT SERVICIO SOCIEDAD DE RESPONSABILIDAD LIMITADA",
      "Contact": {
          "PhoneList": {
              "Phone": [
                  "64206205"
              ]
          },
          "EmailList": {
              "Email": [
                  "carlos.alvarado@digifact.com"
              ]
          }
      },
      "AdditionlInfo": {
          "Info": [
              {
                  "@_Name": "Provincia",
                  "@_Data": "",
                  "@_Value": "1"
              },
              {
                  "@_Name": "Canton",
                  "@_Data": "",
                  "@_Value": "02"
              },
              {
                  "@_Name": "Distrito",
                  "@_Data": "",
                  "@_Value": "03"
              },
              {
                  "@_Name": "CodigoPais",
                  "@_Data": "",
                  "@_Value": "506"
              }
          ]
      },
      "AddressInfo": {
          "Address": "Escazú San Rafael Centro Comercial Distrito Cuatro Tercer piso oficina Lawgical",
          "City": null,
          "District": null,
          "State": null,
          "Country": null
      },
      "BranchInfo": {
          "Code": "001",
          "Name": "DIGIFACT",
          "AdditionalBranchInfo": {
              "Info": [
                  {
                      "@_Name": "Caja",
                      "@_Value": "00002"
                  }
              ]
          }
      }
  },
  "Buyer": {
      "TaxID": "702320717",
      "TaxIDType": "01",
      "Name": "Carlos Andrade",
      "Contact": {
          "PhoneList": {
              "Phone": [
                  "84922891"
              ]
          },
          "EmailList": {
              "Email": [
                  "julio.cifuentes@digifact.com"
              ]
          }
      },
      "AdditionlInfo": {
          "Info": [
              {
                  "@_Name": "CodigoPais",
                  "@_Data": null,
                  "@_Value": "506"
              }
          ]
      }
  },
  "Items": {
      "Item": [
          {
              "Codes": {
                  "Code": [
                      {
                          "@_Name": "Codigo",
                          "@_Data": "",
                          "@_Value": "0111100000100"
                      },
                      {
                          "@_Name": "CodigoCom",
                          "@_Data": "01",
                          "@_Value": "320"
                      }
                  ]
              },
              "Description": "Caballos de raza pura, vivos, n.c.p.",
              "Qty": 1.00,
              "UnitOfMeasure": "kg",
              "Price": 10000.00,
              "Taxes": {
                  "Tax": [
                      {
                          "Code": "01",
                          "Description": "08",
                          "Rate": 13.00000,
                          "Amount": 1300.00000
                      }
                  ]
              },
              "Totals": {
                  "TotalBDiscount": 10000.00,
                  "TotalWDiscount": 10000.00,
                  "SpecificTotal": 1300.00,
                  "TotalItem": 11300.00000
              },
              "AdditionalInfo": {
                "Info": [
                  {
                    "@_Name": "PartidaArancelaria",
                    "@_Data": "",
                    "@_Value": "000001011010"
                }
                ]
              }
          }
      ]
  },
  "Totals": {
      "TotalTaxes": {
          "TotalTax": [
              {
                  "Description": "TotalImpuesto",
                  "Amount": 1300.0000
              }
          ]
      },
      "GrandTotal": {
          "TotalBDiscounts": 10000.00000,
          "TotalWDiscounts": 10000.00000,
          "InvoiceTotal": 11300.00000
      },
      "AdditionalInfo": {
          "Info": [
              {
                  "@_Name": "TotalServGravados",
                  "@_Data": null,
                  "@_Value": "0"
              },
              {
                  "@_Name": "TotalServExentos",
                  "@_Data": null,
                  "@_Value": "0"
              },
              {
                  "@_Name": "TotalMercanciasGravadas",
                  "@_Data": null,
                  "@_Value": "10000.00000"
              },
              {
                  "@_Name": "TotalMercanciasExentas",
                  "@_Data": null,
                  "@_Value": "0"
              },
              {
                  "@_Name": "TotalGravado",
                  "@_Data": null,
                  "@_Value": "10000.00000"
              },
              {
                  "@_Name": "TotalExento",
                  "@_Data": null,
                  "@_Value": "0"
              }
          ]
      }
  },
  "Payments": {
      "Payment": [
          {
              "Code": "01"
          }
      ]
  },
  "AdditionalDocumentInfo": {
      "AdditionalInfo": [
          {
              "Texts": {
                  "Text": [
                      {
                          "@_CNo": "OtroTexto",
                          "@_RNo": "Exportacion",
                          "#text": "Informacion adicional de la exportacion, etc."
                      }
                  ]
              }
          }
      ]
  }
}