This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<FacturaElectronica xmlns="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.4/facturaElectronica" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<Clave>50620032400310123456700100001010000000017100000017</Clave> | |
<ProveedorSistemas>Proveedor XYZ</ProveedorSistemas> | |
<CodigoActividadEmisor>401002</CodigoActividadEmisor> | |
<CodigoActividadReceptor>502101</CodigoActividadReceptor> | |
<NumeroConsecutivo>00100001010000000017</NumeroConsecutivo> | |
<FechaEmision>2024-02-07T12:00:00</FechaEmision> | |
<Emisor> | |
<Nombre>Empresa XYZ</Nombre> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET statement_timeout = 0; | |
SET lock_timeout = 0; | |
SET client_encoding = 'UTF8'; | |
SET standard_conforming_strings = on; | |
SET check_function_bodies = false; | |
SET client_min_messages = warning; | |
SET row_security = off; | |
SET search_path = public, pg_catalog; | |
DROP EXTENSION IF EXISTS plpgsql; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location '127.0.0.1/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'w=genXML' \ | |
--data-urlencode 'r=gen_xml_fe' \ | |
--data-urlencode 'clave=50620032400310123456700100001010000000017100000017' \ | |
--data-urlencode 'proveedor_sistemas=Proveedor XYZ' \ | |
--data-urlencode 'codigo_actividad_emisor=401002' \ | |
--data-urlencode 'consecutivo=00100001010000000017' \ | |
--data-urlencode 'fecha_emision=2024-02-07T12:00:00' \ | |
--data-urlencode 'emisor_nombre=Empresa XYZ' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Created with Liquid Technologies Online Tools 1.0 (https://www.liquid-technologies.com) --> | |
<FacturaElectronica xmlns="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.4/facturaElectronica" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xsi:schemaLocation="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.4/facturaElectronica schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<Clave>28240250221983100536311010897744398757674213859650</Clave> | |
<ProveedorSistemas>string</ProveedorSistemas> | |
<CodigoActividadEmisor>ABCDEF</CodigoActividadEmisor> | |
<CodigoActividadReceptor>ABCDEF</CodigoActividadReceptor> | |
<NumeroConsecutivo>72285682546454825317</NumeroConsecutivo> | |
<FechaEmision>2006-10-03T12:12:35.32</FechaEmision> | |
<Emisor> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'http://localhost/www/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'w=clave' \ | |
--data-urlencode 'r=clave' \ | |
--data-urlencode 'tipoCedula=fisico' \ | |
--data-urlencode 'cedula=702110230' \ | |
--data-urlencode 'codigoPais=506' \ | |
--data-urlencode 'consecutivo=1522773402' \ | |
--data-urlencode 'situacion=normal' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'https://factura-electronica-cr-api.herokuapp.com/www/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'w=token' \ | |
--data-urlencode 'r=refresh' \ | |
--data-urlencode 'grant_type=refresh_token' \ | |
--data-urlencode 'client_id=api-stag' \ | |
--data-urlencode 'refresh_token=eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiIwYmJmYmUyZi0wNDQ2LTQxMjItYjMwMi03MjZkNTRjZWY4YWMiLCJleHAiOjE1NTcyOTI0OTAsIm5iZiI6MCwiaWF0IjoxNTU3MjkxMjkwLCJpc3MiOiJodHRwczovL2lkcC5jb21wcm9iYW50ZXNlbGVjdHJvbmljb3MuZ28uY3IvYXV0aC9yZWFsbXMvcnV0LXN0YWciLCJhdWQiOiJhcGktc3RhZyIsInN1YiI6IjJjYTZiOTc1LTZjMmMtNGM1MC04ZGQ4LTg5MDFhMWY3YmVlYyIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJhcGktc3RhZyIsInNlc3Npb25fc3RhdGUiOiJhNzUwMzNjNi0xYzRjLTRiM2UtOGRiOS1hMmM0YjZhMTQyMjMiLCJjbGllbnRfc2Vzc2lvbiI6ImFlODI4NzEwLTMxZjItNDAwZC1hZjZhLWIwNjk4YTk2ODRhYiIsInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50Iiwidmlldy1wcm9maWxlIl19fX0.YxeyMHV0ljqFby412vR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'http://localhost/www/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'w=token' \ | |
--data-urlencode 'r=gettoken' \ | |
--data-urlencode 'grant_type=password' \ | |
--data-urlencode 'client_id=api-stag' \ | |
--data-urlencode '[email protected]' \ | |
--data-urlencode 'password=.HG@gK=]H>6M[^8ts/^*' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'http://localhost/www/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--form 'w=fileUploader' \ | |
--form 'r=subir_certif' \ | |
--form 'sessionKey=cVpzTzV2NFFlZzZUN2VoL1J6WU1XZz09OjpHJA3/t7zQiahf6eWdOd6F' \ | |
--form 'fileToUpload=@/path/to/file' \ | |
--form 'iam=test702110230' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location 'http://api-hacienda-jeancarlos.local:8090/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'inXml=PD94bWwgdmVyc2lvbiA9ICIxLjAiIGVuY29kaW5nID0gInV0Zi04Ij8+CiAgICA8RmFjdHVyYUVsZWN0cm9uaWNhCiAgICB4bWxucz0iaHR0cHM6Ly9jZG4uY29tcHJvYmFudGVzZWxlY3Ryb25pY29zLmdvLmNyL3htbC1zY2hlbWFzL3Y0LjQvZmFjdHVyYUVsZWN0cm9uaWNhIgogICAgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIKICAgIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiPgogICAgICAgIDxDbGF2ZT41MDYxMDAxMjQwMDAxMTUyMDAzOTkwMDEwMDAyMDAxMDAwMDAwMDAwMzE4NzQzNTEyNjwvQ2xhdmU+CiAgICAgICAgPENvZGlnb0FjdGl2aWRhZD41NTIwMDE8L0NvZGlnb0FjdGl2aWRhZD4KICAgICAgICA8TnVtZXJvQ29uc2VjdXRpdm8+MDAxMDAwMjAwMTAwMDAwMDAwMDM8L051bWVyb0NvbnNlY3V0aXZvPgogICAgICAgIDxGZWNoYUVtaXNpb24+MjAyNC0wMS0yNFQxMToxNjo1Ni0wNjowMDwvRmVjaGFFbWlzaW9uPgogICAgICAgIDxFbWlzb3I+CiAgICAgICAgICAgIDxOb21icmU+REFOSUVMIEFQRUxMSURPPC9Ob21icmU+CiAgICAgICAgICAgIDxJZGVudGlmaWNhY2lvbj4KICAgICAgICAgICAgICAgIDxUaXBvPjAxPC9UaXBvPgogICAgICAgI |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"1": { | |
"internalID": 1, | |
"Provincia": 7, | |
"NombreProvincia": "Limón", | |
"Canton": "06", | |
"NombreCanton": "Guácimo", | |
"Distrito": "05", | |
"NombreDistrito": "DUACARÍ", | |
"Barrio": "08", |
NewerOlder