- Se incluye nuevo tipo de comprobante: Recibo Electrónico de Pago. Código 10
- Se incluye el campo de “Proveedor de Sistemas” para identificar los sistemas de emisión de comprobantes electrónicos.
- Se incluye el campo de “Código de actividad económica del receptor”. Se incluye nota al pie sobre la comunicación oportuna para el uso obligatorio de este campo.
- Se incluye el campo de “Registro fiscal de bebidas Alcohólicas Ley 8707”.
- Se elimina el nodo de “Fax”, tanto para el nodo del emisor como para el nodo del receptor.
- Se elimina el campo “Número de identificación en caso que el Receptor sea Extranjero”.
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Í", |
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
#!/bin/bash | |
VARIABLE_NAME="NODE_VERSION" | |
VARIABLE_VALUE="21.7.1" | |
PROFILE_FILE="$HOME/.bash_profile" | |
# Check and append using awk | |
if ! awk -v var="$VARIABLE_NAME" 'BEGIN { found=0 } /^export/ { if ($0 ~ "export " var "=") found=1 } END { exit !found }' "$PROFILE_FILE"; then | |
echo "export $VARIABLE_NAME='$VARIABLE_VALUE'" >> "$PROFILE_FILE" | |
echo "Variable $VARIABLE_NAME added to $PROFILE_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
<xs:schema xmlns="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.3/facturaElectronicaExportacion" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.3/facturaElectronicaExportacion" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4.3" vc:minVersion="1.1"> | |
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../../xmldsig-core-schema.xsd"/> | |
<xs:element name="FacturaElectronicaExportacion"> | |
<xs:annotation> | |
<xs:documentation>Elemento Raiz de la Facturacion Electrónica de exportacion</xs:documentation> | |
</xs:annotation> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Clave" type="ClaveType"> | |
<xs:annotation> |
NewerOlder