{
    "info": {
        "name": "MATIAS API — Sandbox Quickstart",
        "description": "Collection curada para onboarding de integradores en el sandbox.\n\n## Flujo completo (23 requests)\n\n1. **Register** en producción\n2. **Login** en sandbox (el usuario se sincroniza automáticamente)\n3. **Generate PAT** — token personal de acceso\n4. **Factura happy path** → ACCEPTED\n5. **Factura forzando error** → ERROR_REJECTED, ERROR_DUPLICATE, ERROR_500, ERROR_TIMEOUT, ERROR_AUTH, ERROR_SCHEMA, CERT_EXPIRED\n6. **PDF & Status** — descarga de PDF, consulta de estado, info de certificado\n7. **Notas Crédito/Débito** — emisión de notas crédito y débito\n8. **Documento Soporte** — documento soporte y nota de ajuste DS\n9. **Nómina Electrónica** — nómina individual, reemplazo y eliminación\n10. **Auto-Increment** — factura y nota crédito con auto-incremento\n\n## Variables\n- `prod_url` — URL del entorno de producción\n- `sandbox_url` — URL del sandbox (`sandbox-api.matias-api.com`)\n- `email` / `password` — credenciales de prueba\n- `token` — se auto-setea después del login\n- `pat_token` — se auto-setea después de generar PAT\n- `trackId` — ID de seguimiento para consultas de PDF y estado",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "_exporter_id": "matias-api-sandbox"
    },
    "variable": [
        {
            "key": "prod_url",
            "value": "https://api.matias-api.com/api/ubl2.1"
        },
        {
            "key": "sandbox_url",
            "value": "https://sandbox-api.matias-api.com/api/ubl2.1"
        },
        {
            "key": "email",
            "value": "integrador@ejemplo.com"
        },
        {
            "key": "password",
            "value": "Mi-Password-Seguro-2026"
        },
        {
            "key": "first_name",
            "value": "Integrador"
        },
        {
            "key": "last_name",
            "value": "Demo"
        },
        {
            "key": "company_name",
            "value": "Mi Empresa SAS"
        },
        {
            "key": "dni",
            "value": "900123456"
        },
        {
            "key": "token",
            "value": ""
        },
        {
            "key": "pat_token",
            "value": ""
        },
        {
            "key": "trackId",
            "value": "sandbox-mock-trackid"
        }
    ],
    "item": [
        {
            "name": "1. Producción",
            "item": [
                {
                    "name": "1.1 Register (producción)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"first_name\": \"{{first_name}}\",\n  \"last_name\": \"{{last_name}}\",\n  \"company_name\": \"{{company_name}}\",\n  \"email\": \"{{email}}\",\n  \"password\": \"{{password}}\",\n  \"password_confirmation\": \"{{password}}\",\n  \"dni\": \"{{dni}}\"\n}"
                        },
                        "url": {
                            "raw": "{{prod_url}}/register",
                            "host": [
                                "{{prod_url}}"
                            ],
                            "path": [
                                "register"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Registro exitoso', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "2. Sandbox — Auth",
            "item": [
                {
                    "name": "2.1 Login (sandbox)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"email\": \"{{email}}\",\n  \"password\": \"{{password}}\"\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auth/login",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auth",
                                "login"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Login exitoso en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "    var json = pm.response.json();",
                                    "    pm.environment.set('token', json.access_token || json.token);",
                                    "    pm.collectionVariables.set('token', json.access_token || json.token);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "2.2 Generate PAT",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"name\": \"Sandbox Test Token\"\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/tokens/",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "tokens",
                                ""
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('PAT generado exitosamente', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "    var json = pm.response.json();",
                                    "    pm.collectionVariables.set('pat_token', json.token || json.accessToken);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "3. Sandbox — Facturación",
            "item": [
                {
                    "name": "3.1 Invoice Happy Path (ACCEPTED)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Factura aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});",
                                    "",
                                    "pm.test('Response no tiene header X-MATIAS-Environment', function () {",
                                    "    // El middleware añade este header solo si sandbox.enabled=true",
                                    "    pm.response.to.have.header('X-MATIAS-Environment', 'sandbox');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.2 Invoice Force ERROR_REJECTED",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "ERROR_REJECTED"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Factura rechazada por magic value', function () {",
                                    "    // El FakeDianTransmitter devuelve IsValid=false con status ERROR_REJECTED",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.have.property('response');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.3 Invoice Force ERROR_DUPLICATE",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "ERROR_DUPLICATE"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    }
                },
                {
                    "name": "3.4 Invoice Force ERROR_500 (server error)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "ERROR_500"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Error 500 simulado', function () {",
                                    "    pm.response.to.have.status(500);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.5 Invoice Force ERROR_TIMEOUT",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "ERROR_TIMEOUT"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Error timeout simulado', function () {",
                                    "    pm.response.to.have.status(500);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.6 Invoice Force ERROR_AUTH",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "ERROR_AUTH"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Error auth simulado — tiene respuesta JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.7 Invoice Force ERROR_SCHEMA",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "ERROR_SCHEMA"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Error schema simulado — tiene respuesta JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.8 Invoice Force CERT_EXPIRED",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            },
                            {
                                "key": "X-Sandbox-Force-Status",
                                "value": "CERT_EXPIRED"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/invoice",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "invoice"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Cert expired simulado — tiene respuesta JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "3.9 Casos de Borde (DIAN)",
                    "item": [
                        {
                            "name": "3.9.1 Force ERROR_MATH_ROUNDING",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_MATH_ROUNDING"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/invoice",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "invoice"
                                    ]
                                }
                            }
                        },
                        {
                            "name": "3.9.2 Force ERROR_SOFTWARE_SECURITY",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_SOFTWARE_SECURITY"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/invoice",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "invoice"
                                    ]
                                }
                            }
                        },
                        {
                            "name": "3.9.3 Force ERROR_PAYROLL_DEPT (Nómina)",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_PAYROLL_DEPT"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"document_number\": \"27\",\n    \"generation_city_id\": \"836\",\n    \"worker_code\": \"1063279307\",\n    \"novelty\": false,\n    \"pay_day\": \"2023-09-30\",\n    \"period\": {\n        \"date_entry\": \"2017-01-01\",\n        \"departure_date\": null,\n        \"settlement_start_date\": \"2023-09-01\",\n        \"settlement_end_date\": \"2023-09-30\",\n        \"time_worked\": \"30\",\n        \"generation_date\": \"2023-09-24\"\n    },\n    \"general_information\": {\n        \"generation_date\": \"2023-09-24\",\n        \"generation_time\": \"10:00:00\",\n        \"period_id\": \"5\",\n        \"currency_id\": \"272\",\n        \"trm\": \"0\"\n    },\n    \"notes\": \"\",\n    \"employee\": {\n        \"worker_type_id\": 1,\n        \"worker_subtype_id\": 1,\n        \"high_risk_pension\": \"false\",\n        \"identity_document_id\": \"1\",\n        \"document_number\": \"1063279307\",\n        \"first_surname\": \"LOPEZ\",\n        \"second_surname\": \"GOMES\",\n        \"first_name\": \"LEWIS\",\n        \"other_names\": \"OSWALDO\",\n        \"working_country_id\": 45,\n        \"work_city_id\": 149,\n        \"work_address\": \"Calle 64 #1631 La  Capilla Dosquebradas\",\n        \"integral_salary\": \"false\",\n        \"contract_type_id\": 1,\n        \"salary\": \"1200000\",\n        \"worker_code\": \"1063279307\"\n    },\n    \"payment\": {\n        \"payment_method_id\": \"1\",\n        \"means_payment_id\": \"31\",\n        \"bank\": \"BANCOLOMBIA\",\n        \"account_type\": \"AHORROS\",\n        \"account_number\": \"96645544844\"\n    },\n    \"earn\": {\n        \"basic\": {\n            \"worked_days\": \"30\",\n            \"salary_worked\": \"1200000\"\n        },\n        \"transport\": {\n            \"transportation_assistance\": \"106454\",\n            \"viatic_maintenance\": \"0.0\",\n            \"viatic_non_salary_maintenance\": \"0.0\"\n        },\n        \"HEDs\": [\n            {\n                \"start_time\": null,\n                \"final_hour\": null,\n                \"amount\": \"20\",\n                \"percentage\": \"25.00\",\n                \"payment\": \"125000\"\n            }\n        ],\n        \"HENs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HEDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HENDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"vacations\": {\n            \"common\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"paid\": {\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            }\n        },\n        \"bonus\": {\n            \"amount\": \"0\",\n            \"payment\": \"0.00\",\n            \"non_salary_payment\": \"0.00\"\n        },\n        \"cesantias\": {\n            \"payment\": \"0\",\n            \"percentage\": \"0.00\",\n            \"interest_payment\": \"0.00\"\n        },\n        \"incapacity\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"type_id\": 1,\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"licenses\": {\n            \"licenseMP\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseNR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        },\n        \"bonuses\": [\n            {\n                \"bonusS\": \"0.00\",\n                \"bonusNS\": \"0.00\"\n            }\n        ],\n        \"assistances\": [\n            {\n                \"assistanceS\": \"0.00\",\n                \"assistanceNS\": \"0.00\"\n            }\n        ],\n        \"legal_strikes\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        ],\n        \"other_concepts\": [\n            {\n                \"description\": \"Otros conceptos\",\n                \"conceptS\": \"0.00\",\n                \"conceptNS\": \"4000.00\"\n            }\n        ],\n        \"compensations\": [\n            {\n                \"compensationO\": \"0.00\",\n                \"compensationE\": \"0.00\"\n            }\n        ],\n        \"bondEPCTVs\": [\n            {\n                \"paymentS\": \"0.00\",\n                \"paymentNS\": \"0.00\",\n                \"payment_foodS\": \"0.00\",\n                \"payment_foodNS\": \"0.00\"\n            }\n        ],\n        \"commissions\": [\n            {\n                \"commission\": \"0.00\"\n            }\n        ],\n        \"payments_third_party\": [\n            {\n                \"payment_third_party\": \"0.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"endowment\": \"0.00\",\n        \"sustaining_support\": \"0.00\",\n        \"teleworking\": \"0.00\",\n        \"withdrawal_bonus\": \"0.00\",\n        \"indemnification\": \"0.00\",\n        \"refund\": \"0.00\"\n    },\n    \"deductions\": {\n        \"health\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"pension_fund\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"fundSP\": {\n            \"percentage\": \"0.00\",\n            \"deduction\": \"0.00\",\n            \"percentageSub\": \"0.00\",\n            \"deductionSub\": \"0.00\"\n        },\n        \"trade_union\": [\n            {\n                \"percentage\": \"0.00\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"sanctions\": [\n            {\n                \"sanctionPublic\": \"0.00\",\n                \"sanctionPriv\": \"0.00\"\n            }\n        ],\n        \"libranzas\": [\n            {\n                \"description\": \"\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"third_party_payment\": [\n            {\n                \"third_party_pay\": \"90000.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"other_deductions\": [\n            {\n                \"other_deduction\": \"0.00\"\n            }\n        ],\n        \"voluntary_pension\": \"0.00\",\n        \"retefuente\": \"0.00\",\n        \"afc\": \"0.00\",\n        \"cooperative\": \"0.00\",\n        \"tax_embargo\": \"0.00\",\n        \"complementary_plan\": \"0.00\",\n        \"education\": \"0.00\",\n        \"refund\": \"0.00\",\n        \"debt\": \"0.00\"\n    },\n    \"rounding\": \"46\",\n    \"total_earned\": \"1325000\",\n    \"deductions_total\": \"97400\",\n    \"total_voucher\": \"1334054\"\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ep/payroll",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ep",
                                        "payroll"
                                    ]
                                }
                            }
                        }
                    ]
                },
                {
                    "name": "3.10 Errores NC/ND",
                    "item": [
                        {
                            "name": "NC Force ERROR_NC_DATE_MISMATCH",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_NC_DATE_MISMATCH"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18763005880468\",\n    \"prefix\": \"NC\",\n    \"notes\": \"Documento anulado por errores en datos del cliente\",\n    \"document_number\": \"214\",\n    \"operation_type_id\": 12,\n    \"type_document_id\": 5,\n    \"graphic_representation\": 0,\n    \"send_email\": 0,\n    \"discrepancy_response\": {\n        \"reference_id\": \"FVP1\",\n        \"response_id\": \"2\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FVP1\",\n        \"date\": \"2024-05-24\",\n        \"uuid\": \"43433a047058be691f874d0f114fbff8481c69d89cc79b2a308db048aa1f0d45b1c1d9dcf46e3e01dd3449cf5a386960\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"170\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/notes/credit",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "notes",
                                        "credit"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_NC_DATE_MISMATCH', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "NC Force ERROR_NC_PAYMENT_METHOD",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_NC_PAYMENT_METHOD"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18763005880468\",\n    \"prefix\": \"NC\",\n    \"notes\": \"Documento anulado por errores en datos del cliente\",\n    \"document_number\": \"214\",\n    \"operation_type_id\": 12,\n    \"type_document_id\": 5,\n    \"graphic_representation\": 0,\n    \"send_email\": 0,\n    \"discrepancy_response\": {\n        \"reference_id\": \"FVP1\",\n        \"response_id\": \"2\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FVP1\",\n        \"date\": \"2024-05-24\",\n        \"uuid\": \"43433a047058be691f874d0f114fbff8481c69d89cc79b2a308db048aa1f0d45b1c1d9dcf46e3e01dd3449cf5a386960\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"170\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/notes/credit",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "notes",
                                        "credit"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_NC_PAYMENT_METHOD', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "NC Force ERROR_REFERENCE_ORPHAN",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_REFERENCE_ORPHAN"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18763005880468\",\n    \"prefix\": \"NC\",\n    \"notes\": \"Documento anulado por errores en datos del cliente\",\n    \"document_number\": \"214\",\n    \"operation_type_id\": 12,\n    \"type_document_id\": 5,\n    \"graphic_representation\": 0,\n    \"send_email\": 0,\n    \"discrepancy_response\": {\n        \"reference_id\": \"FVP1\",\n        \"response_id\": \"2\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FVP1\",\n        \"date\": \"2024-05-24\",\n        \"uuid\": \"43433a047058be691f874d0f114fbff8481c69d89cc79b2a308db048aa1f0d45b1c1d9dcf46e3e01dd3449cf5a386960\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"170\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/notes/credit",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "notes",
                                        "credit"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_REFERENCE_ORPHAN', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "3.11 Errores Doc. Soporte",
                    "item": [
                        {
                            "name": "DS Force ERROR_DS_VENDOR_ID",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_DS_VENDOR_ID"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764090837763\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"100\",\n    \"operation_type_id\": 9,\n    \"type_document_id\": 11,\n    \"graphic_representation\": 0,\n    \"currency_id\": 272,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"230525.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"3\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435431\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"3\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"81600\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"Hunters Mini Tumaco 82%\",\n            \"code\": \"HMT82\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"27200\",\n            \"base_quantity\": \"3\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            }\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100000\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50000\",\n            \"base_quantity\": \"2\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19000,\n                    \"taxable_amount\": 100000,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"1\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"28500\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT81\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"28500\",\n            \"base_quantity\": \"1\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 1425,\n                    \"taxable_amount\": 28500,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"210100\",\n        \"tax_exclusive_amount\": \"128500\",\n        \"tax_inclusive_amount\": \"230525\",\n        \"payable_amount\": \"230525\"\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 1425,\n            \"taxable_amount\": 28500,\n            \"percent\": 5\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19000,\n            \"taxable_amount\": 100000,\n            \"percent\": 19\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ds/document",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ds",
                                        "document"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_DS_VENDOR_ID', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "DS Force ERROR_DS_TAX_INVALID",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_DS_TAX_INVALID"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764090837763\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"100\",\n    \"operation_type_id\": 9,\n    \"type_document_id\": 11,\n    \"graphic_representation\": 0,\n    \"currency_id\": 272,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"230525.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"3\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435431\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"3\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"81600\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"Hunters Mini Tumaco 82%\",\n            \"code\": \"HMT82\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"27200\",\n            \"base_quantity\": \"3\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            }\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100000\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50000\",\n            \"base_quantity\": \"2\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19000,\n                    \"taxable_amount\": 100000,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"1\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"28500\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT81\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"28500\",\n            \"base_quantity\": \"1\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 1425,\n                    \"taxable_amount\": 28500,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"210100\",\n        \"tax_exclusive_amount\": \"128500\",\n        \"tax_inclusive_amount\": \"230525\",\n        \"payable_amount\": \"230525\"\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 1425,\n            \"taxable_amount\": 28500,\n            \"percent\": 5\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19000,\n            \"taxable_amount\": 100000,\n            \"percent\": 19\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ds/document",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ds",
                                        "document"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_DS_TAX_INVALID', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "DS Force ERROR_DS_LOCATION",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_DS_LOCATION"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764090837763\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"100\",\n    \"operation_type_id\": 9,\n    \"type_document_id\": 11,\n    \"graphic_representation\": 0,\n    \"currency_id\": 272,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"230525.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"3\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435431\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"3\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"81600\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"Hunters Mini Tumaco 82%\",\n            \"code\": \"HMT82\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"27200\",\n            \"base_quantity\": \"3\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            }\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100000\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50000\",\n            \"base_quantity\": \"2\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19000,\n                    \"taxable_amount\": 100000,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"1\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"28500\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT81\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"28500\",\n            \"base_quantity\": \"1\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 1425,\n                    \"taxable_amount\": 28500,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"210100\",\n        \"tax_exclusive_amount\": \"128500\",\n        \"tax_inclusive_amount\": \"230525\",\n        \"payable_amount\": \"230525\"\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 1425,\n            \"taxable_amount\": 28500,\n            \"percent\": 5\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19000,\n            \"taxable_amount\": 100000,\n            \"percent\": 19\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ds/document",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ds",
                                        "document"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_DS_LOCATION', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "DS Nota Force ERROR_DS_NOTE_REF",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_DS_NOTE_REF"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"date\": \"2024-01-12\",\n    \"time\": \"22:46:53\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"3\",\n    \"operation_type_id\": 1,\n    \"type_document_id\": 15,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"currency_id\": 272,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"230525.00\"\n        }\n    ],\n    \"discrepancy_response\": {\n        \"reference_id\": \"DS10\",\n        \"response_id\": \"11\",\n        \"description\": \"Anulación porque el documento se generó a vendedor incorecto\"\n    },\n    \"billing_reference\": {\n        \"number\": \"DS10\",\n        \"date\": \"2024-01-11\",\n        \"uuid\": \"4d3aa5a3d69e674adb0b29b8b7c091682e5ce5d47a35c7b7a24442e8c93eaeb8a7e84c4b012ce76f04fb9dd692ef7168\",\n        \"scheme_name\": \"CUDS-SHA384\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"3\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"3\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"81600\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"Hunters Mini Tumaco 82%\",\n            \"code\": \"HMT82\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"27200\",\n            \"base_quantity\": \"3\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            }\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100000\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50000\",\n            \"base_quantity\": \"2\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19000,\n                    \"taxable_amount\": 100000,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"1\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"28500\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT81\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"28500\",\n            \"base_quantity\": \"1\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 1425,\n                    \"taxable_amount\": 28500,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"210100\",\n        \"tax_exclusive_amount\": \"128500\",\n        \"tax_inclusive_amount\": \"230525\",\n        \"payable_amount\": \"230525\"\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 1425,\n            \"taxable_amount\": 28500,\n            \"percent\": 5\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19000,\n            \"taxable_amount\": 100000,\n            \"percent\": 19\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ds/adjustment-note",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ds",
                                        "adjustment-note"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_DS_NOTE_REF', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "3.12 Errores POS Electrónico",
                    "item": [
                        {
                            "name": "POS Force ERROR_POS_VENDOR_RUT",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_POS_VENDOR_RUT"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764071164948\",\n    \"prefix\": \"FPOS\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"229\",\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 20,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"point_of_sale\": {\n        \"cashier_name\": \"LEWIS OSWALDO LOPEZ GOMEZ\",\n        \"terminal_number\": \"CJ001aB\",\n        \"cashier_type\": \"Caja de apoyo\",\n        \"sales_code\": \"POS01\",\n        \"address\": \"Gilbarco Encore 4 L1 - Mangue ra 17 AC\",\n        \"sub_total\": \"2000.10\"\n    },\n    \"software_manufacturer\": {\n        \"owner_name\": \"LEWIS LOPEZ GOMEZ\",\n        \"company_name\": \"LOPEZSOFT SAS\",\n        \"software_name\": \"SOFTWARE POS MATIAS APP\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "auto-increment",
                                        "pos-documents"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_POS_VENDOR_RUT', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "POS Force ERROR_POS_CUDE_INVALID",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_POS_CUDE_INVALID"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764071164948\",\n    \"prefix\": \"FPOS\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"229\",\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 20,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"point_of_sale\": {\n        \"cashier_name\": \"LEWIS OSWALDO LOPEZ GOMEZ\",\n        \"terminal_number\": \"CJ001aB\",\n        \"cashier_type\": \"Caja de apoyo\",\n        \"sales_code\": \"POS01\",\n        \"address\": \"Gilbarco Encore 4 L1 - Mangue ra 17 AC\",\n        \"sub_total\": \"2000.10\"\n    },\n    \"software_manufacturer\": {\n        \"owner_name\": \"LEWIS LOPEZ GOMEZ\",\n        \"company_name\": \"LOPEZSOFT SAS\",\n        \"software_name\": \"SOFTWARE POS MATIAS APP\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "auto-increment",
                                        "pos-documents"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_POS_CUDE_INVALID', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "POS Force ERROR_POS_RESOLUTION",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_POS_RESOLUTION"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18764071164948\",\n    \"prefix\": \"FPOS\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"229\",\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 20,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"point_of_sale\": {\n        \"cashier_name\": \"LEWIS OSWALDO LOPEZ GOMEZ\",\n        \"terminal_number\": \"CJ001aB\",\n        \"cashier_type\": \"Caja de apoyo\",\n        \"sales_code\": \"POS01\",\n        \"address\": \"Gilbarco Encore 4 L1 - Mangue ra 17 AC\",\n        \"sub_total\": \"2000.10\"\n    },\n    \"software_manufacturer\": {\n        \"owner_name\": \"LEWIS LOPEZ GOMEZ\",\n        \"company_name\": \"LOPEZSOFT SAS\",\n        \"software_name\": \"SOFTWARE POS MATIAS APP\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "auto-increment",
                                        "pos-documents"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_POS_RESOLUTION', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "3.13 Errores Nómina Electrónica",
                    "item": [
                        {
                            "name": "Nómina Force ERROR_PAYROLL_CUNE_INVALID",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_PAYROLL_CUNE_INVALID"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"document_number\": \"27\",\n    \"generation_city_id\": \"836\",\n    \"worker_code\": \"1063279307\",\n    \"novelty\": false,\n    \"pay_day\": \"2023-09-30\",\n    \"period\": {\n        \"date_entry\": \"2017-01-01\",\n        \"departure_date\": null,\n        \"settlement_start_date\": \"2023-09-01\",\n        \"settlement_end_date\": \"2023-09-30\",\n        \"time_worked\": \"30\",\n        \"generation_date\": \"2023-09-24\"\n    },\n    \"general_information\": {\n        \"generation_date\": \"2023-09-24\",\n        \"generation_time\": \"10:00:00\",\n        \"period_id\": \"5\",\n        \"currency_id\": \"272\",\n        \"trm\": \"0\"\n    },\n    \"notes\": \"\",\n    \"employee\": {\n        \"worker_type_id\": 1,\n        \"worker_subtype_id\": 1,\n        \"high_risk_pension\": \"false\",\n        \"identity_document_id\": \"1\",\n        \"document_number\": \"1063279307\",\n        \"first_surname\": \"LOPEZ\",\n        \"second_surname\": \"GOMES\",\n        \"first_name\": \"LEWIS\",\n        \"other_names\": \"OSWALDO\",\n        \"working_country_id\": 45,\n        \"work_city_id\": 149,\n        \"work_address\": \"Calle 64 #1631 La  Capilla Dosquebradas\",\n        \"integral_salary\": \"false\",\n        \"contract_type_id\": 1,\n        \"salary\": \"1200000\",\n        \"worker_code\": \"1063279307\"\n    },\n    \"payment\": {\n        \"payment_method_id\": \"1\",\n        \"means_payment_id\": \"31\",\n        \"bank\": \"BANCOLOMBIA\",\n        \"account_type\": \"AHORROS\",\n        \"account_number\": \"96645544844\"\n    },\n    \"earn\": {\n        \"basic\": {\n            \"worked_days\": \"30\",\n            \"salary_worked\": \"1200000\"\n        },\n        \"transport\": {\n            \"transportation_assistance\": \"106454\",\n            \"viatic_maintenance\": \"0.0\",\n            \"viatic_non_salary_maintenance\": \"0.0\"\n        },\n        \"HEDs\": [\n            {\n                \"start_time\": null,\n                \"final_hour\": null,\n                \"amount\": \"20\",\n                \"percentage\": \"25.00\",\n                \"payment\": \"125000\"\n            }\n        ],\n        \"HENs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HEDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HENDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"vacations\": {\n            \"common\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"paid\": {\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            }\n        },\n        \"bonus\": {\n            \"amount\": \"0\",\n            \"payment\": \"0.00\",\n            \"non_salary_payment\": \"0.00\"\n        },\n        \"cesantias\": {\n            \"payment\": \"0\",\n            \"percentage\": \"0.00\",\n            \"interest_payment\": \"0.00\"\n        },\n        \"incapacity\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"type_id\": 1,\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"licenses\": {\n            \"licenseMP\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseNR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        },\n        \"bonuses\": [\n            {\n                \"bonusS\": \"0.00\",\n                \"bonusNS\": \"0.00\"\n            }\n        ],\n        \"assistances\": [\n            {\n                \"assistanceS\": \"0.00\",\n                \"assistanceNS\": \"0.00\"\n            }\n        ],\n        \"legal_strikes\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        ],\n        \"other_concepts\": [\n            {\n                \"description\": \"Otros conceptos\",\n                \"conceptS\": \"0.00\",\n                \"conceptNS\": \"4000.00\"\n            }\n        ],\n        \"compensations\": [\n            {\n                \"compensationO\": \"0.00\",\n                \"compensationE\": \"0.00\"\n            }\n        ],\n        \"bondEPCTVs\": [\n            {\n                \"paymentS\": \"0.00\",\n                \"paymentNS\": \"0.00\",\n                \"payment_foodS\": \"0.00\",\n                \"payment_foodNS\": \"0.00\"\n            }\n        ],\n        \"commissions\": [\n            {\n                \"commission\": \"0.00\"\n            }\n        ],\n        \"payments_third_party\": [\n            {\n                \"payment_third_party\": \"0.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"endowment\": \"0.00\",\n        \"sustaining_support\": \"0.00\",\n        \"teleworking\": \"0.00\",\n        \"withdrawal_bonus\": \"0.00\",\n        \"indemnification\": \"0.00\",\n        \"refund\": \"0.00\"\n    },\n    \"deductions\": {\n        \"health\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"pension_fund\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"fundSP\": {\n            \"percentage\": \"0.00\",\n            \"deduction\": \"0.00\",\n            \"percentageSub\": \"0.00\",\n            \"deductionSub\": \"0.00\"\n        },\n        \"trade_union\": [\n            {\n                \"percentage\": \"0.00\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"sanctions\": [\n            {\n                \"sanctionPublic\": \"0.00\",\n                \"sanctionPriv\": \"0.00\"\n            }\n        ],\n        \"libranzas\": [\n            {\n                \"description\": \"\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"third_party_payment\": [\n            {\n                \"third_party_pay\": \"90000.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"other_deductions\": [\n            {\n                \"other_deduction\": \"0.00\"\n            }\n        ],\n        \"voluntary_pension\": \"0.00\",\n        \"retefuente\": \"0.00\",\n        \"afc\": \"0.00\",\n        \"cooperative\": \"0.00\",\n        \"tax_embargo\": \"0.00\",\n        \"complementary_plan\": \"0.00\",\n        \"education\": \"0.00\",\n        \"refund\": \"0.00\",\n        \"debt\": \"0.00\"\n    },\n    \"rounding\": \"46\",\n    \"total_earned\": \"1325000\",\n    \"deductions_total\": \"97400\",\n    \"total_voucher\": \"1334054\"\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ep/payroll",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ep",
                                        "payroll"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_PAYROLL_CUNE_INVALID', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "Nómina Force ERROR_PAYROLL_PERIOD",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_PAYROLL_PERIOD"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"document_number\": \"27\",\n    \"generation_city_id\": \"836\",\n    \"worker_code\": \"1063279307\",\n    \"novelty\": false,\n    \"pay_day\": \"2023-09-30\",\n    \"period\": {\n        \"date_entry\": \"2017-01-01\",\n        \"departure_date\": null,\n        \"settlement_start_date\": \"2023-09-01\",\n        \"settlement_end_date\": \"2023-09-30\",\n        \"time_worked\": \"30\",\n        \"generation_date\": \"2023-09-24\"\n    },\n    \"general_information\": {\n        \"generation_date\": \"2023-09-24\",\n        \"generation_time\": \"10:00:00\",\n        \"period_id\": \"5\",\n        \"currency_id\": \"272\",\n        \"trm\": \"0\"\n    },\n    \"notes\": \"\",\n    \"employee\": {\n        \"worker_type_id\": 1,\n        \"worker_subtype_id\": 1,\n        \"high_risk_pension\": \"false\",\n        \"identity_document_id\": \"1\",\n        \"document_number\": \"1063279307\",\n        \"first_surname\": \"LOPEZ\",\n        \"second_surname\": \"GOMES\",\n        \"first_name\": \"LEWIS\",\n        \"other_names\": \"OSWALDO\",\n        \"working_country_id\": 45,\n        \"work_city_id\": 149,\n        \"work_address\": \"Calle 64 #1631 La  Capilla Dosquebradas\",\n        \"integral_salary\": \"false\",\n        \"contract_type_id\": 1,\n        \"salary\": \"1200000\",\n        \"worker_code\": \"1063279307\"\n    },\n    \"payment\": {\n        \"payment_method_id\": \"1\",\n        \"means_payment_id\": \"31\",\n        \"bank\": \"BANCOLOMBIA\",\n        \"account_type\": \"AHORROS\",\n        \"account_number\": \"96645544844\"\n    },\n    \"earn\": {\n        \"basic\": {\n            \"worked_days\": \"30\",\n            \"salary_worked\": \"1200000\"\n        },\n        \"transport\": {\n            \"transportation_assistance\": \"106454\",\n            \"viatic_maintenance\": \"0.0\",\n            \"viatic_non_salary_maintenance\": \"0.0\"\n        },\n        \"HEDs\": [\n            {\n                \"start_time\": null,\n                \"final_hour\": null,\n                \"amount\": \"20\",\n                \"percentage\": \"25.00\",\n                \"payment\": \"125000\"\n            }\n        ],\n        \"HENs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HEDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HENDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"vacations\": {\n            \"common\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"paid\": {\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            }\n        },\n        \"bonus\": {\n            \"amount\": \"0\",\n            \"payment\": \"0.00\",\n            \"non_salary_payment\": \"0.00\"\n        },\n        \"cesantias\": {\n            \"payment\": \"0\",\n            \"percentage\": \"0.00\",\n            \"interest_payment\": \"0.00\"\n        },\n        \"incapacity\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"type_id\": 1,\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"licenses\": {\n            \"licenseMP\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseNR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        },\n        \"bonuses\": [\n            {\n                \"bonusS\": \"0.00\",\n                \"bonusNS\": \"0.00\"\n            }\n        ],\n        \"assistances\": [\n            {\n                \"assistanceS\": \"0.00\",\n                \"assistanceNS\": \"0.00\"\n            }\n        ],\n        \"legal_strikes\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        ],\n        \"other_concepts\": [\n            {\n                \"description\": \"Otros conceptos\",\n                \"conceptS\": \"0.00\",\n                \"conceptNS\": \"4000.00\"\n            }\n        ],\n        \"compensations\": [\n            {\n                \"compensationO\": \"0.00\",\n                \"compensationE\": \"0.00\"\n            }\n        ],\n        \"bondEPCTVs\": [\n            {\n                \"paymentS\": \"0.00\",\n                \"paymentNS\": \"0.00\",\n                \"payment_foodS\": \"0.00\",\n                \"payment_foodNS\": \"0.00\"\n            }\n        ],\n        \"commissions\": [\n            {\n                \"commission\": \"0.00\"\n            }\n        ],\n        \"payments_third_party\": [\n            {\n                \"payment_third_party\": \"0.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"endowment\": \"0.00\",\n        \"sustaining_support\": \"0.00\",\n        \"teleworking\": \"0.00\",\n        \"withdrawal_bonus\": \"0.00\",\n        \"indemnification\": \"0.00\",\n        \"refund\": \"0.00\"\n    },\n    \"deductions\": {\n        \"health\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"pension_fund\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"fundSP\": {\n            \"percentage\": \"0.00\",\n            \"deduction\": \"0.00\",\n            \"percentageSub\": \"0.00\",\n            \"deductionSub\": \"0.00\"\n        },\n        \"trade_union\": [\n            {\n                \"percentage\": \"0.00\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"sanctions\": [\n            {\n                \"sanctionPublic\": \"0.00\",\n                \"sanctionPriv\": \"0.00\"\n            }\n        ],\n        \"libranzas\": [\n            {\n                \"description\": \"\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"third_party_payment\": [\n            {\n                \"third_party_pay\": \"90000.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"other_deductions\": [\n            {\n                \"other_deduction\": \"0.00\"\n            }\n        ],\n        \"voluntary_pension\": \"0.00\",\n        \"retefuente\": \"0.00\",\n        \"afc\": \"0.00\",\n        \"cooperative\": \"0.00\",\n        \"tax_embargo\": \"0.00\",\n        \"complementary_plan\": \"0.00\",\n        \"education\": \"0.00\",\n        \"refund\": \"0.00\",\n        \"debt\": \"0.00\"\n    },\n    \"rounding\": \"46\",\n    \"total_earned\": \"1325000\",\n    \"deductions_total\": \"97400\",\n    \"total_voucher\": \"1334054\"\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/ep/payroll",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "ep",
                                        "payroll"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_PAYROLL_PERIOD', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "3.14 Errores Notas Ajuste POS",
                    "item": [
                        {
                            "name": "POS Nota Force ERROR_POS_NOTE_CUDE_REF",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_POS_NOTE_CUDE_REF"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"26\",\n    \"operation_type_id\": 11,\n    \"type_document_id\": 94,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"discrepancy_response\": {\n        \"reference_id\": \"FPOS229\",\n        \"response_id\": \"16\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FPOS229\",\n        \"date\": \"2025-03-29\",\n        \"uuid\": \"4d91fa3e2d5a1835c6e3432c1eaa9dbbc9140085f19607680edbd57c7d6b7a86295e4177b3ac823a069684b2f702e216\",\n        \"scheme_name\": \"CUDE-SHA384\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "auto-increment",
                                        "pos-documents"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_POS_NOTE_CUDE_REF', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        },
                        {
                            "name": "POS Nota Force ERROR_POS_NOTE_NABA06",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "Bearer {{token}}"
                                    },
                                    {
                                        "key": "X-Sandbox-Force-Status",
                                        "value": "ERROR_POS_NOTE_NABA06"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"26\",\n    \"operation_type_id\": 11,\n    \"type_document_id\": 94,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"discrepancy_response\": {\n        \"reference_id\": \"FPOS229\",\n        \"response_id\": \"16\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FPOS229\",\n        \"date\": \"2025-03-29\",\n        \"uuid\": \"4d91fa3e2d5a1835c6e3432c1eaa9dbbc9140085f19607680edbd57c7d6b7a86295e4177b3ac823a069684b2f702e216\",\n        \"scheme_name\": \"CUDE-SHA384\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                                },
                                "url": {
                                    "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                                    "host": [
                                        "{{sandbox_url}}"
                                    ],
                                    "path": [
                                        "auto-increment",
                                        "pos-documents"
                                    ]
                                }
                            },
                            "event": [
                                {
                                    "listen": "test",
                                    "script": {
                                        "exec": [
                                            "pm.test('Respuesta ERROR_POS_NOTE_NABA06', function () {",
                                            "    var json = pm.response.json();",
                                            "    pm.expect(json).to.be.an('object');",
                                            "});"
                                        ],
                                        "type": "text/javascript"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "4. Sandbox — PDF & Status",
            "item": [
                {
                    "name": "4.1 Get PDF",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": ""
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/documents/pdf/{{trackId}}",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "documents",
                                "pdf",
                                "{{trackId}}"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('PDF obtenido exitosamente', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "4.2 Document Status",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": ""
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/status/document/{{trackId}}",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "status",
                                "document",
                                "{{trackId}}"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Estado del documento obtenido', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "4.3 Get Certificate Info",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{sandbox_url}}/certificate/",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "certificate",
                                ""
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Certificado obtenido exitosamente', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "5. Sandbox — Notas Crédito/Débito",
            "item": [
                {
                    "name": "5.1 Nota Crédito Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18763005880468\",\n    \"prefix\": \"NC\",\n    \"notes\": \"Documento anulado por errores en datos del cliente\",\n    \"document_number\": \"214\",\n    \"operation_type_id\": 12,\n    \"type_document_id\": 5,\n    \"graphic_representation\": 0,\n    \"send_email\": 0,\n    \"discrepancy_response\": {\n        \"reference_id\": \"FVP1\",\n        \"response_id\": \"2\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FVP1\",\n        \"date\": \"2024-05-24\",\n        \"uuid\": \"43433a047058be691f874d0f114fbff8481c69d89cc79b2a308db048aa1f0d45b1c1d9dcf46e3e01dd3449cf5a386960\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"170\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/notes/credit",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "notes",
                                "credit"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Nota crédito aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});",
                                    "",
                                    "pm.test('Header X-MATIAS-Environment es sandbox', function () {",
                                    "    pm.response.to.have.header('X-MATIAS-Environment', 'sandbox');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "5.2 Nota Débito Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18763005880468\",\n    \"date\": \"2024-01-24\",\n    \"time\": \"14:49:36\",\n    \"document_number\": \"18\",\n    \"operation_type_id\": 1,\n    \"type_document_id\": 4,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"95000.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"discrepancy_response\": {\n        \"reference_id\": \"8003\",\n        \"response_id\": \"9\"\n    },\n    \"billing_reference\": {\n        \"number\": \"8003\",\n        \"date\": \"2023-12-22\",\n        \"uuid\": \"8cbf2a265778d1360bebf75b704af307e875bfc3926ffc3b9135c98c469c34f6cf7a1b5df7093638e883a078f92d9d2e\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": 1,\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": 79831.93,\n            \"free_of_charge_indicator\": false,\n            \"description\": \"STILOGRAFOLAMYALSTAR025M\",\n            \"code\": \"4014519428527\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": 95000,\n            \"base_quantity\": 1,\n            \"tax_totals\": [\n                {\n                    \"tax_id\": 1,\n                    \"tax_amount\": 15168.07,\n                    \"taxable_amount\": 79831.93,\n                    \"percent\": \"19\"\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": 79831.93,\n        \"tax_exclusive_amount\": 79831.93,\n        \"tax_inclusive_amount\": 95000,\n        \"charge_total_amount\": 0,\n        \"pre_paid_amount\": 0,\n        \"allowance_total_amount\": 0,\n        \"payable_amount\": 95000\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": 1,\n            \"tax_amount\": 15168.07,\n            \"taxable_amount\": 79831.93,\n            \"percent\": \"19\"\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/notes/debit",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "notes",
                                "debit"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Nota débito aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "6. Sandbox — Documento Soporte",
            "item": [
                {
                    "name": "6.1 Documento Soporte Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764090837763\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"100\",\n    \"operation_type_id\": 9,\n    \"type_document_id\": 11,\n    \"graphic_representation\": 0,\n    \"currency_id\": 272,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"230525.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"3\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435431\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"3\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"81600\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"Hunters Mini Tumaco 82%\",\n            \"code\": \"HMT82\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"27200\",\n            \"base_quantity\": \"3\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            }\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100000\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50000\",\n            \"base_quantity\": \"2\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19000,\n                    \"taxable_amount\": 100000,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"1\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"28500\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT81\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"28500\",\n            \"base_quantity\": \"1\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 1425,\n                    \"taxable_amount\": 28500,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"210100\",\n        \"tax_exclusive_amount\": \"128500\",\n        \"tax_inclusive_amount\": \"230525\",\n        \"payable_amount\": \"230525\"\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 1425,\n            \"taxable_amount\": 28500,\n            \"percent\": 5\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19000,\n            \"taxable_amount\": 100000,\n            \"percent\": 19\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ds/document",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ds",
                                "document"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Documento soporte aceptado en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "6.2 Nota Ajuste DS Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"date\": \"2024-01-12\",\n    \"time\": \"22:46:53\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"3\",\n    \"operation_type_id\": 1,\n    \"type_document_id\": 15,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"currency_id\": 272,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"230525.00\"\n        }\n    ],\n    \"discrepancy_response\": {\n        \"reference_id\": \"DS10\",\n        \"response_id\": \"11\",\n        \"description\": \"Anulación porque el documento se generó a vendedor incorecto\"\n    },\n    \"billing_reference\": {\n        \"number\": \"DS10\",\n        \"date\": \"2024-01-11\",\n        \"uuid\": \"4d3aa5a3d69e674adb0b29b8b7c091682e5ce5d47a35c7b7a24442e8c93eaeb8a7e84c4b012ce76f04fb9dd692ef7168\",\n        \"scheme_name\": \"CUDS-SHA384\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"3\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"3\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"81600\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"Hunters Mini Tumaco 82%\",\n            \"code\": \"HMT82\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"27200\",\n            \"base_quantity\": \"3\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            }\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100000\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50000\",\n            \"base_quantity\": \"2\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19000,\n                    \"taxable_amount\": 100000,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"1\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"28500\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT81\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"28500\",\n            \"base_quantity\": \"1\",\n            \"invoice_period\": {\n                \"start_date\": \"2022-08-30\",\n                \"description_code\": 1\n            },\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 1425,\n                    \"taxable_amount\": 28500,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"210100\",\n        \"tax_exclusive_amount\": \"128500\",\n        \"tax_inclusive_amount\": \"230525\",\n        \"payable_amount\": \"230525\"\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 1425,\n            \"taxable_amount\": 28500,\n            \"percent\": 5\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19000,\n            \"taxable_amount\": 100000,\n            \"percent\": 19\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ds/adjustment-note",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ds",
                                "adjustment-note"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Nota ajuste DS aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "7. Sandbox — Nómina Electrónica",
            "item": [
                {
                    "name": "7.1 Nómina Individual Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"document_number\": \"27\",\n    \"generation_city_id\": \"836\",\n    \"worker_code\": \"1063279307\",\n    \"novelty\": false,\n    \"pay_day\": \"2023-09-30\",\n    \"period\": {\n        \"date_entry\": \"2017-01-01\",\n        \"departure_date\": null,\n        \"settlement_start_date\": \"2023-09-01\",\n        \"settlement_end_date\": \"2023-09-30\",\n        \"time_worked\": \"30\",\n        \"generation_date\": \"2023-09-24\"\n    },\n    \"general_information\": {\n        \"generation_date\": \"2023-09-24\",\n        \"generation_time\": \"10:00:00\",\n        \"period_id\": \"5\",\n        \"currency_id\": \"272\",\n        \"trm\": \"0\"\n    },\n    \"notes\": \"\",\n    \"employee\": {\n        \"worker_type_id\": 1,\n        \"worker_subtype_id\": 1,\n        \"high_risk_pension\": \"false\",\n        \"identity_document_id\": \"1\",\n        \"document_number\": \"1063279307\",\n        \"first_surname\": \"LOPEZ\",\n        \"second_surname\": \"GOMES\",\n        \"first_name\": \"LEWIS\",\n        \"other_names\": \"OSWALDO\",\n        \"working_country_id\": 45,\n        \"work_city_id\": 149,\n        \"work_address\": \"Calle 64 #1631 La  Capilla Dosquebradas\",\n        \"integral_salary\": \"false\",\n        \"contract_type_id\": 1,\n        \"salary\": \"1200000\",\n        \"worker_code\": \"1063279307\"\n    },\n    \"payment\": {\n        \"payment_method_id\": \"1\",\n        \"means_payment_id\": \"31\",\n        \"bank\": \"BANCOLOMBIA\",\n        \"account_type\": \"AHORROS\",\n        \"account_number\": \"96645544844\"\n    },\n    \"earn\": {\n        \"basic\": {\n            \"worked_days\": \"30\",\n            \"salary_worked\": \"1200000\"\n        },\n        \"transport\": {\n            \"transportation_assistance\": \"106454\",\n            \"viatic_maintenance\": \"0.0\",\n            \"viatic_non_salary_maintenance\": \"0.0\"\n        },\n        \"HEDs\": [\n            {\n                \"start_time\": null,\n                \"final_hour\": null,\n                \"amount\": \"20\",\n                \"percentage\": \"25.00\",\n                \"payment\": \"125000\"\n            }\n        ],\n        \"HENs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HEDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRDDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HENDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNDFs\": [\n            {\n                \"start_time\": \"2021-12-31T00:00:00\",\n                \"final_hour\": \"2021-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"vacations\": {\n            \"common\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"paid\": {\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            }\n        },\n        \"bonus\": {\n            \"amount\": \"0\",\n            \"payment\": \"0.00\",\n            \"non_salary_payment\": \"0.00\"\n        },\n        \"cesantias\": {\n            \"payment\": \"0\",\n            \"percentage\": \"0.00\",\n            \"interest_payment\": \"0.00\"\n        },\n        \"incapacity\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"type_id\": 1,\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"licenses\": {\n            \"licenseMP\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseNR\": {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        },\n        \"bonuses\": [\n            {\n                \"bonusS\": \"0.00\",\n                \"bonusNS\": \"0.00\"\n            }\n        ],\n        \"assistances\": [\n            {\n                \"assistanceS\": \"0.00\",\n                \"assistanceNS\": \"0.00\"\n            }\n        ],\n        \"legal_strikes\": [\n            {\n                \"start_date\": \"2021-12-31\",\n                \"final_date\": \"2021-12-31\",\n                \"amount\": \"0\"\n            }\n        ],\n        \"other_concepts\": [\n            {\n                \"description\": \"Otros conceptos\",\n                \"conceptS\": \"0.00\",\n                \"conceptNS\": \"4000.00\"\n            }\n        ],\n        \"compensations\": [\n            {\n                \"compensationO\": \"0.00\",\n                \"compensationE\": \"0.00\"\n            }\n        ],\n        \"bondEPCTVs\": [\n            {\n                \"paymentS\": \"0.00\",\n                \"paymentNS\": \"0.00\",\n                \"payment_foodS\": \"0.00\",\n                \"payment_foodNS\": \"0.00\"\n            }\n        ],\n        \"commissions\": [\n            {\n                \"commission\": \"0.00\"\n            }\n        ],\n        \"payments_third_party\": [\n            {\n                \"payment_third_party\": \"0.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"endowment\": \"0.00\",\n        \"sustaining_support\": \"0.00\",\n        \"teleworking\": \"0.00\",\n        \"withdrawal_bonus\": \"0.00\",\n        \"indemnification\": \"0.00\",\n        \"refund\": \"0.00\"\n    },\n    \"deductions\": {\n        \"health\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"pension_fund\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"fundSP\": {\n            \"percentage\": \"0.00\",\n            \"deduction\": \"0.00\",\n            \"percentageSub\": \"0.00\",\n            \"deductionSub\": \"0.00\"\n        },\n        \"trade_union\": [\n            {\n                \"percentage\": \"0.00\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"sanctions\": [\n            {\n                \"sanctionPublic\": \"0.00\",\n                \"sanctionPriv\": \"0.00\"\n            }\n        ],\n        \"libranzas\": [\n            {\n                \"description\": \"\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"third_party_payment\": [\n            {\n                \"third_party_pay\": \"90000.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"other_deductions\": [\n            {\n                \"other_deduction\": \"0.00\"\n            }\n        ],\n        \"voluntary_pension\": \"0.00\",\n        \"retefuente\": \"0.00\",\n        \"afc\": \"0.00\",\n        \"cooperative\": \"0.00\",\n        \"tax_embargo\": \"0.00\",\n        \"complementary_plan\": \"0.00\",\n        \"education\": \"0.00\",\n        \"refund\": \"0.00\",\n        \"debt\": \"0.00\"\n    },\n    \"rounding\": \"46\",\n    \"total_earned\": \"1325000\",\n    \"deductions_total\": \"97400\",\n    \"total_voucher\": \"1334054\"\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ep/payroll",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ep",
                                "payroll"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Nómina individual aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "7.2 Nómina Replace",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000002\",\n    \"document_number\": \"10\",\n    \"generation_city_id\": \"836\",\n    \"worker_code\": \"1063279307\",\n    \"novelty\": false,\n    \"pay_day\": \"2022-08-30\",\n    \"replacing_predecessor\": {\n        \"number\": \"NE27\",\n        \"cune\": \"fa6e59a1d6f69b1d4e37d15f7485744ce5f74627496e91fba0058aacb52d580f6482d89faa34c8861a6e29df856f4dfa\",\n        \"generation_date\": \"2022-08-28\"\n    },\n    \"period\": {\n        \"date_entry\": \"2017-01-01\",\n        \"departure_date\": null,\n        \"settlement_start_date\": \"2022-08-01\",\n        \"settlement_end_date\": \"2022-08-30\",\n        \"time_worked\": \"30\",\n        \"generation_date\": \"2022-09-24\"\n    },\n    \"general_information\": {\n        \"generation_date\": \"2022-09-24\",\n        \"generation_time\": \"10:00:00\",\n        \"period_id\": \"5\",\n        \"currency_id\": \"272\",\n        \"trm\": \"0\"\n    },\n    \"notes\": \"\",\n    \"employee\": {\n        \"worker_type_id\": 1,\n        \"worker_subtype_id\": 1,\n        \"high_risk_pension\": \"false\",\n        \"identity_document_id\": \"1\",\n        \"document_number\": \"1063279307\",\n        \"first_surname\": \"LOPEZ\",\n        \"second_surname\": \"GOMES\",\n        \"first_name\": \"LEWIS\",\n        \"other_names\": \"OSWALDO\",\n        \"working_country_id\": 45,\n        \"work_city_id\": 149,\n        \"work_address\": \"Calle 64 #1631 La  Capilla Dosquebradas\",\n        \"integral_salary\": \"false\",\n        \"contract_type_id\": 1,\n        \"salary\": \"1200000\",\n        \"worker_code\": \"1063279307\"\n    },\n    \"payment\": {\n        \"payment_method_id\": \"1\",\n        \"means_payment_id\": \"31\",\n        \"bank\": \"BANCOLOMBIA\",\n        \"account_type\": \"AHORROS\",\n        \"account_number\": \"96645544844\"\n    },\n    \"earn\": {\n        \"basic\": {\n            \"worked_days\": \"30\",\n            \"salary_worked\": \"1200000\"\n        },\n        \"transport\": {\n            \"transportation_assistance\": \"106454\",\n            \"viatic_maintenance\": \"0.0\",\n            \"viatic_non_salary_maintenance\": \"0.0\"\n        },\n        \"HEDs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HENs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HEDDFs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRDDFs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HENDFs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"HRNDFs\": [\n            {\n                \"start_time\": \"2022-12-31T00:00:00\",\n                \"final_hour\": \"2022-12-31T00:00:00\",\n                \"amount\": \"0\",\n                \"percentage\": \"0.00\",\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"vacations\": {\n            \"common\": {\n                \"start_date\": \"2022-12-31\",\n                \"final_date\": \"2022-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"paid\": {\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            }\n        },\n        \"bonus\": {\n            \"amount\": \"0\",\n            \"payment\": \"0.00\",\n            \"non_salary_payment\": \"0.00\"\n        },\n        \"cesantias\": {\n            \"payment\": \"0\",\n            \"percentage\": \"0.00\",\n            \"interest_payment\": \"0.00\"\n        },\n        \"incapacity\": [\n            {\n                \"start_date\": \"2022-12-31\",\n                \"final_date\": \"2022-12-31\",\n                \"amount\": \"0\",\n                \"type_id\": 1,\n                \"payment\": \"0.00\"\n            }\n        ],\n        \"licenses\": {\n            \"licenseMP\": {\n                \"start_date\": \"2022-12-31\",\n                \"final_date\": \"2022-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseR\": {\n                \"start_date\": \"2022-12-31\",\n                \"final_date\": \"2022-12-31\",\n                \"amount\": \"0\",\n                \"payment\": \"0.00\"\n            },\n            \"licenseNR\": {\n                \"start_date\": \"2022-12-31\",\n                \"final_date\": \"2022-12-31\",\n                \"amount\": \"0\"\n            }\n        },\n        \"bonuses\": [\n            {\n                \"bonusS\": \"0.00\",\n                \"bonusNS\": \"0.00\"\n            }\n        ],\n        \"assistances\": [\n            {\n                \"assistanceS\": \"0.00\",\n                \"assistanceNS\": \"0.00\"\n            }\n        ],\n        \"legal_strikes\": [\n            {\n                \"start_date\": \"2022-12-31\",\n                \"final_date\": \"2022-12-31\",\n                \"amount\": \"0\"\n            }\n        ],\n        \"other_concepts\": [\n            {\n                \"description\": \"A\",\n                \"conceptS\": \"0.00\",\n                \"conceptNS\": \"0.00\"\n            }\n        ],\n        \"compensations\": [\n            {\n                \"compensationO\": \"0.00\",\n                \"compensationE\": \"0.00\"\n            }\n        ],\n        \"bondEPCTVs\": [\n            {\n                \"paymentS\": \"0.00\",\n                \"paymentNS\": \"0.00\",\n                \"payment_foodS\": \"0.00\",\n                \"payment_foodNS\": \"0.00\"\n            }\n        ],\n        \"commissions\": [\n            {\n                \"commission\": \"0.00\"\n            }\n        ],\n        \"payments_third_party\": [\n            {\n                \"payment_third_party\": \"0.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"endowment\": \"0.00\",\n        \"sustaining_support\": \"0.00\",\n        \"teleworking\": \"0.00\",\n        \"withdrawal_bonus\": \"0.00\",\n        \"indemnification\": \"0.00\",\n        \"refund\": \"0.00\"\n    },\n    \"deductions\": {\n        \"health\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"pension_fund\": {\n            \"percentage\": \"4\",\n            \"deduction\": \"43700\"\n        },\n        \"fundSP\": {\n            \"percentage\": \"0.00\",\n            \"deduction\": \"0.00\",\n            \"percentageSub\": \"0.00\",\n            \"deductionSub\": \"0.00\"\n        },\n        \"trade_union\": [\n            {\n                \"percentage\": \"0.00\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"sanctions\": [\n            {\n                \"sanctionPublic\": \"0.00\",\n                \"sanctionPriv\": \"0.00\"\n            }\n        ],\n        \"libranzas\": [\n            {\n                \"description\": \"\",\n                \"deduction\": \"0.00\"\n            }\n        ],\n        \"third_party_payment\": [\n            {\n                \"third_party_pay\": \"0.00\"\n            }\n        ],\n        \"advances\": [\n            {\n                \"advance\": \"0.00\"\n            }\n        ],\n        \"other_deductions\": [\n            {\n                \"other_deduction\": \"0.00\"\n            }\n        ],\n        \"voluntary_pension\": \"0.00\",\n        \"retefuente\": \"0.00\",\n        \"afc\": \"0.00\",\n        \"cooperative\": \"0.00\",\n        \"tax_embargo\": \"0.00\",\n        \"complementary_plan\": \"0.00\",\n        \"education\": \"0.00\",\n        \"refund\": \"0.00\",\n        \"debt\": \"0.00\"\n    },\n    \"rounding\": \"46\",\n    \"total_earned\": \"1200000\",\n    \"deductiones_total\": \"87400\",\n    \"total_voucher\": \"1219100\"\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ep/payroll/replace",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ep",
                                "payroll",
                                "replace"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Nómina reemplazo aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "7.3 Nómina Delete",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000002\",\n    \"document_number\": \"11\",\n    \"generation_city_id\": \"836\",\n    \"deleting_predecessor\": {\n        \"number\": \"SETPNE0017\",\n        \"cune\": \"fa6e59a1d6f69b1d4e37d15f7485744ce5f74627496e91fba0058aacb52d580f6482d89faa34c8861a6e29df856f4dfa\",\n        \"generation_date\": \"2022-08-28\"\n    },\n    \"general_information\": {\n        \"generation_date\": \"2022-08-28\",\n        \"generation_time\": \"10:00:00\"\n    },\n    \"notes\": \"Documento eliminado por error contable\"\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ep/payroll/delete",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ep",
                                "payroll",
                                "delete"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Nómina eliminación aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "8. Sandbox — Auto-Increment",
            "item": [
                {
                    "name": "8.1 Factura Auto-Increment",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764074347312\",\n    \"prefix\": \"LZT\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"2002\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 7,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"country_id\": \"45\",\n        \"city_id\": \"836\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Calle 64 #1823\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"um\": \"M\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/invoices",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "invoices"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Factura auto-increment aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "8.2 NC Auto-Increment",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18763005880468\",\n    \"prefix\": \"NC\",\n    \"notes\": \"Documento anulado por errores en datos del cliente\",\n    \"document_number\": \"214\",\n    \"operation_type_id\": 12,\n    \"type_document_id\": 5,\n    \"graphic_representation\": 0,\n    \"send_email\": 0,\n    \"discrepancy_response\": {\n        \"reference_id\": \"FVP1\",\n        \"response_id\": \"2\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FVP1\",\n        \"date\": \"2024-05-24\",\n        \"uuid\": \"43433a047058be691f874d0f114fbff8481c69d89cc79b2a308db048aa1f0d45b1c1d9dcf46e3e01dd3449cf5a386960\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"170\",\n        \"city_id\": \"149\",\n        \"identity_document_id\": \"1\",\n        \"type_organization_id\": 2,\n        \"tax_regime_id\": 2,\n        \"tax_level_id\": 5,\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"mobile\": \"3108435423\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"address\": \"Direccion residencial\",\n        \"postal_code\": \"661002\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/credit-notes",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "credit-notes"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('NC auto-increment aceptada en sandbox', function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "9. Sandbox — POS Electrónico",
            "item": [
                {
                    "name": "9.1 POS Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764071164948\",\n    \"prefix\": \"FPOS\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"229\",\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 20,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"point_of_sale\": {\n        \"cashier_name\": \"LEWIS OSWALDO LOPEZ GOMEZ\",\n        \"terminal_number\": \"CJ001aB\",\n        \"cashier_type\": \"Caja de apoyo\",\n        \"sales_code\": \"POS01\",\n        \"address\": \"Gilbarco Encore 4 L1 - Mangue ra 17 AC\",\n        \"sub_total\": \"2000.10\"\n    },\n    \"software_manufacturer\": {\n        \"owner_name\": \"LEWIS LOPEZ GOMEZ\",\n        \"company_name\": \"LOPEZSOFT SAS\",\n        \"software_name\": \"SOFTWARE POS MATIAS APP\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "pos-documents"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "9.2 POS Consumidor Final",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764071164948\",\n    \"prefix\": \"FPOS\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"231\",\n    \"graphic_representation\": 0,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 20,\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"point_of_sale\": {\n        \"cashier_name\": \"LEWIS LOPEZ\",\n        \"terminal_number\": \"CJ001aB\",\n        \"cashier_type\": \"Caja de apoyo\",\n        \"sales_code\": \"POS01\",\n        \"address\": \"Gilbarco Encore 4 L1 - Mangue ra 17 AC\",\n        \"sub_total\": \"2000.10\"\n    },\n    \"software_manufacturer\": {\n        \"owner_name\": \"LEWIS LOPEZ GOMEZ\",\n        \"company_name\": \"LOPEZSOFT SAS\",\n        \"software_name\": \"SOFTWARE POS MATIAS APP\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "pos-documents"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "9.3 POS con Descuento",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764071667638\",\n    \"prefix\": \"FPOS\",\n    \"date\": \"2024-06-07\",\n    \"time\": \"12:55:32\",\n    \"notes\": \"\",\n    \"document_number\": \"14\",\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"operation_type_id\": 1,\n    \"type_document_id\": 20,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"59.50\"\n        }\n    ],\n    \"software_manufacturer\": {\n        \"owner_name\": \"LEWIS LOPEZ GOMEZ\",\n        \"company_name\": \"LOPEZSOFT SAS\",\n        \"software_name\": \"SOFTWARE POS MATIAS APP\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": 1,\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"50\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"producto alimento\",\n            \"code\": \"11952875\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"100\",\n            \"base_quantity\": 1,\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 9.5,\n                    \"taxable_amount\": 50,\n                    \"percent\": 19\n                }\n            ],\n            \"allowance_charges\": [\n                {\n                    \"charge_indicator\": false,\n                    \"allowance_charge_reason\": \"Descuento por promoción\",\n                    \"base_amount\": \"100\",\n                    \"amount\": \"50\"\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"50\",\n        \"tax_exclusive_amount\": \"50\",\n        \"tax_inclusive_amount\": \"59.5\",\n        \"total_allowance\": 0,\n        \"payable_amount\": 59.5\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 9.5,\n            \"taxable_amount\": 50,\n            \"percent\": 19\n        }\n    ],\n    \"point_of_sale\": {\n        \"cashier_name\": \"Veterinario demo2\",\n        \"terminal_number\": \"CJ001aB\",\n        \"cashier_type\": \"Caja de apoyo\",\n        \"sales_code\": \"POS1\",\n        \"address\": \"Storni 6278\",\n        \"sub_total\": 59.5\n    }\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/pos-documents",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "pos-documents"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "9.4 Nota Crédito POS",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"26\",\n    \"operation_type_id\": 11,\n    \"type_document_id\": 94,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"224.00\"\n        }\n    ],\n    \"document_signature\": {\n        \"cashier\": \"Nombre del cajero(a)\",\n        \"seller\": \"Nombre del vendedor(a)\"\n    },\n    \"customer\": {\n        \"company_name\": \"LOPEZ GOMEZ LEWIS OSWALDO\",\n        \"dni\": \"1063279307\",\n        \"email\": \"lws_1234@hotmail.com\",\n        \"points\": 0\n    },\n    \"discrepancy_response\": {\n        \"reference_id\": \"FPOS229\",\n        \"response_id\": \"16\"\n    },\n    \"billing_reference\": {\n        \"number\": \"FPOS229\",\n        \"date\": \"2025-03-29\",\n        \"uuid\": \"4d91fa3e2d5a1835c6e3432c1eaa9dbbc9140085f19607680edbd57c7d6b7a86295e4177b3ac823a069684b2f702e216\",\n        \"scheme_name\": \"CUDE-SHA384\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES\",\n            \"code\": \"HMT83\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 19,\n                    \"taxable_amount\": 100,\n                    \"percent\": 19\n                }\n            ]\n        },\n        {\n            \"invoiced_quantity\": \"2\",\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": \"100.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"TIJERA NECROPSIA AVES 2\",\n            \"code\": \"HMT84\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": \"50\",\n            \"base_quantity\": \"2\",\n            \"tax_totals\": [\n                {\n                    \"tax_id\": \"1\",\n                    \"tax_amount\": 5,\n                    \"taxable_amount\": 100,\n                    \"percent\": 5\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"200.00\",\n        \"tax_exclusive_amount\": \"200.00\",\n        \"tax_inclusive_amount\": \"224.00\",\n        \"payable_amount\": 224\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 19,\n            \"taxable_amount\": 100,\n            \"percent\": 19\n        },\n        {\n            \"tax_id\": \"1\",\n            \"tax_amount\": 5,\n            \"taxable_amount\": 100,\n            \"percent\": 5\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/pos-credit-notes",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "pos-credit-notes"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "9.5 Nota Débito POS",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"date\": \"2024-01-24\",\n    \"time\": \"14:49:36\",\n    \"document_number\": \"1\",\n    \"operation_type_id\": 14,\n    \"type_document_id\": 93,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"payments\": [\n        {\n            \"payment_method_id\": 1,\n            \"means_payment_id\": 10,\n            \"value_paid\": \"95000.00\"\n        }\n    ],\n    \"customer\": {\n        \"company_name\": \"Santiago Arango\",\n        \"dni\": \"1152440359\",\n        \"points\": 0\n    },\n    \"discrepancy_response\": {\n        \"reference_id\": \"EPOS2\",\n        \"response_id\": \"9\"\n    },\n    \"billing_reference\": {\n        \"number\": \"EPOS2\",\n        \"date\": \"2023-12-22\",\n        \"uuid\": \"b1b5d93a2918407a2ef0048ed3092e5d96c94f73db178779463f202f8c52dd53ef5b9888d804d4b609521b1d031aea39\"\n    },\n    \"lines\": [\n        {\n            \"invoiced_quantity\": 1,\n            \"quantity_units_id\": \"1093\",\n            \"line_extension_amount\": 79831.93,\n            \"free_of_charge_indicator\": false,\n            \"description\": \"STILOGRAFOLAMYALSTAR025M\",\n            \"code\": \"4014519428527\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": 95000,\n            \"base_quantity\": 1,\n            \"tax_totals\": [\n                {\n                    \"tax_id\": 1,\n                    \"tax_amount\": 15168.07,\n                    \"taxable_amount\": 79831.93,\n                    \"percent\": \"19\"\n                }\n            ]\n        }\n    ],\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": 79831.93,\n        \"tax_exclusive_amount\": 79831.93,\n        \"tax_inclusive_amount\": 95000,\n        \"total_charges\": 0,\n        \"pre_paid_amount\": 0,\n        \"total_allowance\": 0,\n        \"payable_amount\": 95000\n    },\n    \"tax_totals\": [\n        {\n            \"tax_id\": 1,\n            \"tax_amount\": 15168.07,\n            \"taxable_amount\": 79831.93,\n            \"percent\": \"19\"\n        }\n    ]\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/auto-increment/pos-debit-notes",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "auto-increment",
                                "pos-debit-notes"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "10. Sandbox — DS No Residente",
            "item": [
                {
                    "name": "10.1 DS No Residente Happy Path",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18764090837763\",\n    \"document_number\": \"106\",\n    \"operation_type_id\": 10,\n    \"type_document_id\": 11,\n    \"graphic_representation\": 1,\n    \"currency_id\": 272,\n    \"payments\": [\n        {\n            \"payment_method_id\": \"1\",\n            \"means_payment_id\": \"10\",\n            \"value_paid\": \"790329.00\"\n        }\n    ],\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"1.00\",\n            \"quantity_units_id\": \"1093\",\n            \"um\": \"UND\",\n            \"line_extension_amount\": \"790329.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"COMPRA KRYTOX POR CHEMOURS GPL 205 GRASA, PFPE PURO\",\n            \"code\": \"999-001\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": 790329,\n            \"base_quantity\": 1,\n            \"invoice_period\": {\n                \"start_date\": \"2025-03-01\",\n                \"description_code\": \"1\"\n            }\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"239\",\n        \"identity_document_id\": \"10\",\n        \"company_name\": \"AMAZON\",\n        \"dni\": \"444444055\",\n        \"address\": \"NORTE DE VIRGINIA H10\",\n        \"city_name\": \"VIRGINIA\",\n        \"postal_code\": \"110121\"\n    },\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"790329.00\",\n        \"tax_exclusive_amount\": \"0.00\",\n        \"tax_inclusive_amount\": \"790329.00\",\n        \"payable_amount\": \"790329.00\"\n    }\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ds/document",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ds",
                                "document"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                },
                {
                    "name": "10.2 Nota Ajuste DS No Residente",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"resolution_number\": \"18760000001\",\n    \"notes\": \"Nota del documento\",\n    \"document_number\": \"71\",\n    \"operation_type_id\": 10,\n    \"type_document_id\": 15,\n    \"graphic_representation\": 1,\n    \"send_email\": 1,\n    \"currency_id\": 272,\n    \"discrepancy_response\": {\n        \"reference_id\": \"DS106\",\n        \"response_id\": \"11\",\n        \"description\": \"Anulación porque el documento se generó a vendedor incorecto\"\n    },\n    \"billing_reference\": {\n        \"number\": \"DS106\",\n        \"date\": \"2025-04-13\",\n        \"uuid\": \"7afa7f2dcf133ca8be44853dc5506b48b9860e86d585dc56ac0692fb65281f2d6a51dc7fd6d1fa44d78e9f5ed2dc714e\",\n        \"scheme_name\": \"CUDS-SHA384\"\n    },\n    \"payments\": [\n        {\n            \"payment_method_id\": \"1\",\n            \"means_payment_id\": \"10\",\n            \"value_paid\": \"790329.00\"\n        }\n    ],\n    \"lines\": [\n        {\n            \"invoiced_quantity\": \"1.00\",\n            \"quantity_units_id\": \"1093\",\n            \"um\": \"UND\",\n            \"line_extension_amount\": \"790329.00\",\n            \"free_of_charge_indicator\": false,\n            \"description\": \"COMPRA KRYTOX POR CHEMOURS GPL 205 GRASA, PFPE PURO\",\n            \"code\": \"999-001\",\n            \"type_item_identifications_id\": \"4\",\n            \"reference_price_id\": \"1\",\n            \"price_amount\": 790329,\n            \"base_quantity\": 1,\n            \"invoice_period\": {\n                \"start_date\": \"2025-03-01\",\n                \"description_code\": \"1\"\n            }\n        }\n    ],\n    \"customer\": {\n        \"country_id\": \"239\",\n        \"identity_document_id\": \"10\",\n        \"company_name\": \"AMAZON\",\n        \"dni\": \"444444055\",\n        \"address\": \"NORTE DE VIRGINIA H10\",\n        \"city_name\": \"VIRGINIA\",\n        \"postal_code\": \"110121\"\n    },\n    \"legal_monetary_totals\": {\n        \"line_extension_amount\": \"790329.00\",\n        \"tax_exclusive_amount\": \"0.00\",\n        \"tax_inclusive_amount\": \"790329.00\",\n        \"payable_amount\": \"790329.00\"\n    }\n}"
                        },
                        "url": {
                            "raw": "{{sandbox_url}}/ds/adjustment-note",
                            "host": [
                                "{{sandbox_url}}"
                            ],
                            "path": [
                                "ds",
                                "adjustment-note"
                            ]
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test('Status 200 o 201', function () {",
                                    "    pm.expect(pm.response.code).to.be.oneOf([200, 201]);",
                                    "});",
                                    "pm.test('Response is JSON', function () {",
                                    "    var json = pm.response.json();",
                                    "    pm.expect(json).to.be.an('object');",
                                    "});"
                                ],
                                "type": "text/javascript"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}