<!-- Fuente: https://docs.matias-api.com/docs/jsons-support-document/support-document -->
# Documento soporte residente

A continuación se muestra un ejemplo de un JSON que representa un documento soporte. Este JSON se puede utilizar para pruebas o para simular un documento soporte real.

## Residente

```json title="support-document-resident.json"
{
  "resolution_number": "18764090837763",
  "notes": "Nota del documento",
  "document_number": "100",
  "operation_type_id": 9,
  "type_document_id": 11,
  "graphic_representation": 0,
  "currency_id": 272,
  "send_email": 1,
  "payments": [{
    "payment_method_id": 1,
    "means_payment_id": 10,
    "value_paid": "230525.00"
  }],
  "customer": {
    "country_id": "45",
    "city_id": "149",
    "identity_document_id": "3",
    "type_organization_id": 2,
    "tax_regime_id": 2,
    "tax_level_id": 5,
    "company_name": "LOPEZ GOMEZ LEWIS OSWALDO",
    "dni": "1063279307",
    "mobile": "3108435431",
    "email": "cliente4@ejemplo.com",
    "address": "Direccion residencial",
    "postal_code": "661002"
  },
  "lines": [
    {
      "invoiced_quantity": "3",
      "quantity_units_id": "1093",
      "line_extension_amount": "81600",
      "free_of_charge_indicator": false,
      "description": "Hunters Mini Tumaco 82%",
      "code": "HMT82",
      "type_item_identifications_id": "4",
      "reference_price_id": "1",
      "price_amount": "27200",
      "base_quantity": "3",
      "invoice_period": {
        "start_date": "2022-08-30",
        "description_code": 1
      }
    },
    {
      "invoiced_quantity": "2",
      "quantity_units_id": "1093",
      "line_extension_amount": "100000",
      "free_of_charge_indicator": false,
      "description": "TIJERA NECROPSIA AVES 2",
      "code": "HMT84",
      "type_item_identifications_id": "4",
      "reference_price_id": "1",
      "price_amount": "50000",
      "base_quantity": "2",
      "invoice_period": {
        "start_date": "2022-08-30",
        "description_code": 1
      },
      "tax_totals": [
        {
          "tax_id": "1",
          "tax_amount": 19000,
          "taxable_amount": 100000,
          "percent": 19
        }
      ]
    },
    {
      "invoiced_quantity": "1",
      "quantity_units_id": "1093",
      "line_extension_amount": "28500",
      "free_of_charge_indicator": false,
      "description": "TIJERA NECROPSIA AVES",
      "code": "HMT81",
      "type_item_identifications_id": "4",
      "reference_price_id": "1",
      "price_amount": "28500",
      "base_quantity": "1",
      "invoice_period": {
        "start_date": "2022-08-30",
        "description_code": 1
      },
      "tax_totals": [
        {
          "tax_id": "1",
          "tax_amount":  1425,
          "taxable_amount": 28500,
          "percent": 5
        }
      ]
    }
  ],
  "legal_monetary_totals": {
    "line_extension_amount": "210100",
    "tax_exclusive_amount": "128500",
    "tax_inclusive_amount": "230525",
    "payable_amount": "230525"
  },
  "tax_totals": [
    {
      "tax_id": "1",
      "tax_amount":  1425,
      "taxable_amount": 28500,
      "percent": 5
    },
    {
      "tax_id": "1",
      "tax_amount": 19000,
      "taxable_amount": 100000,
      "percent": 19
    }
  ]
}
```
