{
  "info": {
    "name": "EF2 Lite v1",
    "description": "Facturación electrónica DGII con JSON sencillo. Documentación: https://lite.ef2.do\n\n1) Pon tu token en la variable `token`.\n2) Empieza por «Verificar mi cuenta».\n3) Usa «Simular» antes de emitir.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://lite.ef2.do/v1"
    },
    {
      "key": "token",
      "value": "TU_TOKEN_AQUI"
    },
    {
      "key": "encf",
      "value": "E310000000123"
    }
  ],
  "item": [
    {
      "name": "1. Empezar",
      "item": [
        {
          "name": "Verificar mi cuenta",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/cuenta",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "cuenta"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Estado del servicio",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/estado",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "estado"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Catálogos",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/catalogos",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "catalogos"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "2. Simular (no envía nada)",
      "item": [
        {
          "name": "Simular crédito fiscal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/simular",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "simular"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"31\",\n    \"referencia\": \"PED-1001\",\n    \"itbis_incluido\": false\n  },\n  \"cliente\": {\n    \"rnc\": \"131703836\",\n    \"nombre\": \"GRUPO MEDIA SOFT TECHNOLOGY GMS SRL\",\n    \"correo\": \"compras@cliente.com\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Laptop HP 15\",\n      \"cantidad\": 2,\n      \"precio\": 25000,\n      \"itbis\": 18\n    },\n    {\n      \"nombre\": \"Instalación y configuración\",\n      \"precio\": 1500,\n      \"itbis\": 18,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Simular consumo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/simular",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "simular"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"32\",\n    \"referencia\": \"TK-55821\",\n    \"itbis_incluido\": true,\n    \"forma_pago\": \"efectivo\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Café americano\",\n      \"cantidad\": 2,\n      \"precio\": 150,\n      \"itbis\": 18\n    },\n    {\n      \"nombre\": \"Croissant\",\n      \"precio\": 125,\n      \"itbis\": 18\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "3. Emitir facturas",
      "item": [
        {
          "name": "31 Crédito fiscal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"31\",\n    \"referencia\": \"PED-1001\",\n    \"itbis_incluido\": false\n  },\n  \"cliente\": {\n    \"rnc\": \"131703836\",\n    \"nombre\": \"GRUPO MEDIA SOFT TECHNOLOGY GMS SRL\",\n    \"correo\": \"compras@cliente.com\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Laptop HP 15\",\n      \"cantidad\": 2,\n      \"precio\": 25000,\n      \"itbis\": 18\n    },\n    {\n      \"nombre\": \"Instalación y configuración\",\n      \"precio\": 1500,\n      \"itbis\": 18,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "31 A crédito 30 días",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"31\",\n    \"referencia\": \"PED-1002\",\n    \"itbis_incluido\": false,\n    \"pago\": \"credito\",\n    \"dias_credito\": 30,\n    \"orden_compra\": \"OC-7788\"\n  },\n  \"cliente\": {\n    \"rnc\": \"131703836\",\n    \"correo\": \"cuentasporpagar@cliente.com\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Resma papel 8½x11\",\n      \"cantidad\": 20,\n      \"precio\": 285,\n      \"itbis\": 18,\n      \"unidad\": \"caja\",\n      \"codigo\": \"PAP-001\"\n    },\n    {\n      \"nombre\": \"Tóner HP 85A\",\n      \"cantidad\": 3,\n      \"precio\": 3950,\n      \"itbis\": 18,\n      \"codigo\": \"TON-85A\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "31 En dólares",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"31\",\n    \"referencia\": \"INV-2026-77\",\n    \"itbis_incluido\": false,\n    \"moneda\": \"USD\",\n    \"tasa\": 60.5\n  },\n  \"cliente\": {\n    \"rnc\": \"131703836\",\n    \"nombre\": \"GRUPO MEDIA SOFT TECHNOLOGY GMS SRL\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Consultoría de software (horas)\",\n      \"cantidad\": 10,\n      \"precio\": 50,\n      \"itbis\": 18,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "31 Con descuentos",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"31\",\n    \"referencia\": \"PED-1003\",\n    \"itbis_incluido\": false,\n    \"descuento_porcentaje\": 5\n  },\n  \"cliente\": {\n    \"rnc\": \"131703836\",\n    \"nombre\": \"GRUPO MEDIA SOFT TECHNOLOGY GMS SRL\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Silla ergonómica\",\n      \"cantidad\": 4,\n      \"precio\": 8500,\n      \"itbis\": 18,\n      \"descuento\": \"10%\"\n    },\n    {\n      \"nombre\": \"Escritorio ejecutivo\",\n      \"precio\": 22000,\n      \"itbis\": 18,\n      \"descuento\": 2000\n    },\n    {\n      \"nombre\": \"Libro de contabilidad\",\n      \"precio\": 1200,\n      \"itbis\": 0\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "32 Consumo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"32\",\n    \"referencia\": \"TK-55821\",\n    \"itbis_incluido\": true,\n    \"forma_pago\": \"efectivo\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Café americano\",\n      \"cantidad\": 2,\n      \"precio\": 150,\n      \"itbis\": 18\n    },\n    {\n      \"nombre\": \"Croissant\",\n      \"precio\": 125,\n      \"itbis\": 18\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "32 Pagos mixtos",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"32\",\n    \"referencia\": \"TK-55822\",\n    \"itbis_incluido\": true,\n    \"pagos\": [\n      {\n        \"forma\": \"efectivo\",\n        \"monto\": 500\n      },\n      {\n        \"forma\": \"tarjeta\",\n        \"monto\": 450\n      }\n    ]\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Hamburguesa clásica\",\n      \"cantidad\": 2,\n      \"precio\": 350,\n      \"itbis\": 18\n    },\n    {\n      \"nombre\": \"Jugo natural\",\n      \"cantidad\": 2,\n      \"precio\": 125,\n      \"itbis\": 18\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "32 Consumo desde RD$250,000",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"32\",\n    \"referencia\": \"VTA-9001\",\n    \"itbis_incluido\": false\n  },\n  \"cliente\": {\n    \"cedula\": \"001-1234567-8\",\n    \"nombre\": \"María Pérez\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Refrigerador Samsung 28 pies\",\n      \"precio\": 245000,\n      \"itbis\": 18\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "41 Compras a informal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"41\",\n    \"referencia\": \"CMP-301\",\n    \"itbis_incluido\": false,\n    \"retencion_isr\": 10\n  },\n  \"proveedor\": {\n    \"cedula\": \"00112345678\",\n    \"nombre\": \"Juan Rodríguez\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Servicio de pintura de local\",\n      \"precio\": 15000,\n      \"itbis\": 18,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "43 Gastos menores",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"43\",\n    \"referencia\": \"GM-0045\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Peajes ruta Santiago\",\n      \"cantidad\": 4,\n      \"precio\": 100,\n      \"itbis\": 0,\n      \"servicio\": true\n    },\n    {\n      \"nombre\": \"Parqueo\",\n      \"precio\": 200,\n      \"itbis\": 0,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "44 Régimen especial",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"44\",\n    \"referencia\": \"ZF-120\"\n  },\n  \"cliente\": {\n    \"rnc\": \"131703836\",\n    \"nombre\": \"EMPRESA ZONA FRANCA SRL\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Combustible diésel\",\n      \"cantidad\": 22,\n      \"precio\": 220,\n      \"itbis\": 0,\n      \"unidad\": \"galon\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "45 Gubernamental",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"45\",\n    \"referencia\": \"GOB-88\",\n    \"itbis_incluido\": false,\n    \"pago\": \"credito\",\n    \"dias_credito\": 60\n  },\n  \"cliente\": {\n    \"rnc\": \"401007312\",\n    \"nombre\": \"AYUNTAMIENTO DEL DISTRITO NACIONAL\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Mantenimiento de equipos de oficina\",\n      \"precio\": 30000,\n      \"itbis\": 18,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "46 Exportación",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"46\",\n    \"referencia\": \"EXP-014\",\n    \"moneda\": \"USD\",\n    \"tasa\": 60.5\n  },\n  \"cliente\": {\n    \"nombre\": \"FRESH IMPORTS LLC\",\n    \"correo\": \"orders@freshimports.com\",\n    \"direccion\": \"Miami, Florida, USA\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Aguacate criollo (caja 10 kg)\",\n      \"cantidad\": 100,\n      \"precio\": 18,\n      \"itbis\": 0,\n      \"unidad\": \"caja\",\n      \"codigo\": \"AGU-10\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "47 Pagos al exterior",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"encabezado\": {\n    \"tipo\": \"47\",\n    \"referencia\": \"EXT-007\",\n    \"moneda\": \"USD\",\n    \"tasa\": 60.5\n  },\n  \"proveedor\": {\n    \"nombre\": \"CLOUD SOFTWARE INC\"\n  },\n  \"productos\": [\n    {\n      \"nombre\": \"Licencia anual de software\",\n      \"precio\": 1200,\n      \"itbis\": 0\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "4. Notas",
      "item": [
        {
          "name": "Nota de crédito total",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/notas-credito",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "notas-credito"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"factura\": \"E310000000123\",\n  \"motivo\": \"Devolución total de la mercancía\",\n  \"tipo\": \"total\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Nota de crédito parcial",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/notas-credito",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "notas-credito"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"factura\": \"E310000000123\",\n  \"motivo\": \"Cliente devolvió 1 laptop\",\n  \"tipo\": \"parcial\",\n  \"devolver\": [\n    {\n      \"linea\": 1,\n      \"cantidad\": 1\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Nota de crédito de texto",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/notas-credito",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "notas-credito"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"factura\": \"E310000000123\",\n  \"motivo\": \"Corrección del nombre del cliente\",\n  \"tipo\": \"texto\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Anular factura",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas/{{encf}}/anular",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas",
                "{{encf}}",
                "anular"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"motivo\": \"La venta se canceló\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Nota de débito",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/notas-debito",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "notas-debito"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"factura\": \"E310000000123\",\n  \"motivo\": \"Cargo por envío express\",\n  \"productos\": [\n    {\n      \"nombre\": \"Envío express\",\n      \"precio\": 750,\n      \"itbis\": 18,\n      \"servicio\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "5. Consultar",
      "item": [
        {
          "name": "Consultar comprobante",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas/{{encf}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas",
                "{{encf}}"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Buscar por referencia",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas?referencia=PED-1001",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas"
              ],
              "query": [
                {
                  "key": "referencia",
                  "value": "PED-1001"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Descargar PDF",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/facturas/{{encf}}/pdf",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "facturas",
                "{{encf}}",
                "pdf"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Secuencias disponibles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/secuencias",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "secuencias"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Consultar RNC",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/rnc/131703836",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "rnc",
                "131703836"
              ]
            },
            "description": ""
          }
        }
      ]
    }
  ]
}
