VER MANUAL
<?php
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));
date_default_timezone_set('America/Panama');
require_once 'sdk2/sdk2.php';
$datos['xml']='carpeta/almacenar_factura123.xml';
$datos['PAC']['usuario']='844084-1-504061';
$datos['PAC']['pass']='pruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebaprueba';
$datos['PAC']['QR']='CEA4A5457603B609E05349D1950A8972CEA4A5457604B609E05349D1950A8972CEA4A5457605B609E05349D1950A8972CEA4A5457606B609E05349D1950A8972';
$datos['conf']['cer']='certificados/certificado_kit.cer';
$datos['conf']['pass']='Tb1DOwrrxeLnjYxR70pr';
$datos['rFE']['dVerForm']='1.00';
$datos['rFE']['gDGen']['iAmb']='2';
$datos['rFE']['gDGen']['iTpEmis']='01';
$datos['rFE']['gDGen']['iDoc']='01';
$datos['rFE']['gDGen']['dNroDF']='0000026838';
$datos['rFE']['gDGen']['dPtoFacDF']='002';
$datos['rFE']['gDGen']['dSeg']='860774001';
$datos['rFE']['gDGen']['dFechaEm']='AUTO';
$datos['rFE']['gDGen']['iNatOp']='01';
$datos['rFE']['gDGen']['iTipoOp']='1';
$datos['rFE']['gDGen']['iDest']='1';
$datos['rFE']['gDGen']['iFormCAFE']='1';
$datos['rFE']['gDGen']['iEntCAFE']='1';
$datos['rFE']['gDGen']['dEnvFE']='1';
$datos['rFE']['gDGen']['iProGen']='1';
$datos['rFE']['gDGen']['gEmis']['gRucEmi']['dTipoRuc']='2';
$datos['rFE']['gDGen']['gEmis']['gRucEmi']['dRuc']='844084-1-504061';
$datos['rFE']['gDGen']['gEmis']['gRucEmi']['dDV']='00';
$datos['rFE']['gDGen']['gEmis']['dNombEm']='FE generada en ambiente de pruebas - sin valor comercial ni fiscal';
$datos['rFE']['gDGen']['gEmis']['dSucEm']='0000';
$datos['rFE']['gDGen']['gEmis']['dCoordEm']='+8.98114,-79.52262';
$datos['rFE']['gDGen']['gEmis']['dDirecEm']='PH Global Plaza, 6to. piso. Calle 50';
$datos['rFE']['gDGen']['gEmis']['gUbiEm']['dCodUbi']='8-8-7';
$datos['rFE']['gDGen']['gEmis']['gUbiEm']['dCorreg']='Bella Vista';
$datos['rFE']['gDGen']['gEmis']['gUbiEm']['dDistr']='Panama';
$datos['rFE']['gDGen']['gEmis']['gUbiEm']['dProv']='Panama';
$datos['rFE']['gDGen']['gEmis']['dTfnEm']['0']='123-4567';
$datos['rFE']['gDGen']['gEmis']['dCorElectEmi']['0']='demo@siteck.com.mx';
$datos['rFE']['gDGen']['gDatRec']['iTipoRec']='03';
$datos['rFE']['gDGen']['gDatRec']['gRucRec']['dTipoRuc']='2';
$datos['rFE']['gDGen']['gDatRec']['gRucRec']['dRuc']='8-NT-1-13577';
$datos['rFE']['gDGen']['gDatRec']['gRucRec']['dDV']='05';
$datos['rFE']['gDGen']['gDatRec']['dNombRec']='AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE';
$datos['rFE']['gDGen']['gDatRec']['dDirecRec']='Dirección del receptor de la FE';
$datos['rFE']['gDGen']['gDatRec']['gUbiRec']['dCodUbi']='8-8-12';
$datos['rFE']['gDGen']['gDatRec']['gUbiRec']['dCorreg']='Juan Diaz';
$datos['rFE']['gDGen']['gDatRec']['gUbiRec']['dDistr']='Panama';
$datos['rFE']['gDGen']['gDatRec']['gUbiRec']['dProv']='Panama';
$datos['rFE']['gDGen']['gDatRec']['cPaisRec']='PA';
$datos['rFE']['gItem']['0']['dSecItem']='0001';
$datos['rFE']['gItem']['0']['dDescProd']='PRODUCTO #1';
$datos['rFE']['gItem']['0']['dCodProd']='F12345';
$datos['rFE']['gItem']['0']['dCantCodInt']='10';
$datos['rFE']['gItem']['0']['dCodCPBSabr']='81';
$datos['rFE']['gItem']['0']['dCodCPBScmp']='8111';
$datos['rFE']['gItem']['0']['gPrecios']['dPrUnit']='10.00';
$datos['rFE']['gItem']['0']['gPrecios']['dPrItem']='100.00';
$datos['rFE']['gItem']['0']['gPrecios']['dValTotItem']='107.00';
$datos['rFE']['gItem']['0']['gITBMSItem']['dTasaITBMS']='01';
$datos['rFE']['gItem']['0']['gITBMSItem']['dValITBMS']='7.00';
$datos['rFE']['gItem']['1']['dSecItem']='0002';
$datos['rFE']['gItem']['1']['dDescProd']='PRODUCTO #2';
$datos['rFE']['gItem']['1']['dCodProd']='F54321';
$datos['rFE']['gItem']['1']['dCantCodInt']='1';
$datos['rFE']['gItem']['1']['dCodCPBSabr']='81';
$datos['rFE']['gItem']['1']['dCodCPBScmp']='8111';
$datos['rFE']['gItem']['1']['gPrecios']['dPrUnit']='100.00';
$datos['rFE']['gItem']['1']['gPrecios']['dPrItem']='100.00';
$datos['rFE']['gItem']['1']['gPrecios']['dValTotItem']='107.00';
$datos['rFE']['gItem']['1']['gITBMSItem']['dTasaITBMS']='01';
$datos['rFE']['gItem']['1']['gITBMSItem']['dValITBMS']='7.00';
$datos['rFE']['gTot']['dTotNeto']='200.00';
$datos['rFE']['gTot']['dTotITBMS']='14.00';
$datos['rFE']['gTot']['dTotGravado']='14.00';
$datos['rFE']['gTot']['dVTot']='214.00';
$datos['rFE']['gTot']['dTotRec']='214.00';
$datos['rFE']['gTot']['iPzPag']='1';
$datos['rFE']['gTot']['dNroItems']='2';
$datos['rFE']['gTot']['dVTotItems']='214.00';
$datos['rFE']['gTot']['gFormaPago']['0']['iFormaPago']='02';
$datos['rFE']['gTot']['gFormaPago']['0']['dVlrCuota']='214.00';
$res = mf_genera_fepanama($datos);
echo '<h1>Respuesta Generar XML y Timbrado</h1>';
foreach ($res AS $variable => $valor) {
$valor = htmlentities($valor);
echo "<b>[$variable]=</b>$valor<hr>";
}
VER MANUAL
VER VIDEO
xml=C:\sdk2\timbrados\factura123.xml
[PAC]
usuario=844084-1-504061
QR=CEA4A5457603B609E05349D1950A8972CEA4A5457604B609E05349D1950A8972CEA4A5457605B609E05349D1950A8972CEA4A5457606B609E05349D1950A8972
pass=pruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebaprueba
[conf]
pass=Tb1DOwrrxeLnjYxR70pr
cer=c:\sdk2\certificados\certificado_kit.cer
[rFE]
dVerForm=1.00
[rFE.gItem]
[rFE.gItem.0]
dSecItem=0001
dCantCodInt=10
dCodCPBSabr=81
dCodCPBScmp=8111
dCodProd=F12345
dDescProd=PRODUCTO #1
[rFE.gItem.0.gITBMSItem]
dTasaITBMS=01
dValITBMS=7.00
[rFE.gItem.0.gPrecios]
dPrUnit=10.00
dPrItem=100.00
dValTotItem=107.00
[rFE.gItem.1]
dCantCodInt=1
dSecItem=0002
dCodCPBSabr=81
dCodCPBScmp=8111
dCodProd=F54321
dDescProd=PRODUCTO #2
[rFE.gItem.1.gITBMSItem]
dTasaITBMS=01
dValITBMS=7.00
[rFE.gItem.1.gPrecios]
dPrUnit=100.00
dPrItem=100.00
dValTotItem=107.00
[rFE.gTot]
iPzPag=1
dNroItems=2
dTotGravado=14.00
dTotITBMS=14.00
dTotNeto=200.00
dVTotItems=214.00
dTotRec=214.00
dVTot=214.00
[rFE.gTot.gFormaPago]
[rFE.gTot.gFormaPago.0]
iFormaPago=02
dVlrCuota=214.00
[rFE.gDGen]
iFormCAFE=1
iDest=1
iEntCAFE=1
dEnvFE=1
iProGen=1
iTipoOp=1
iNatOp=01
iDoc=01
iTpEmis=01
dPtoFacDF=002
iAmb=2
dNroDF=0000026838
dFechaEm=AUTO
dSeg=860774001
[rFE.gDGen.gDatRec]
iTipoRec=03
dNombRec=AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE
dDirecRec=Dirección del receptor de la FE
cPaisRec=PA
[rFE.gDGen.gDatRec.gRucRec]
dTipoRuc=2
dDV=05
dRuc=8-NT-1-13577
[rFE.gDGen.gDatRec.gUbiRec]
dCodUbi=8-8-12
dCorreg=Juan Diaz
dProv=Panama
dDistr=Panama
[rFE.gDGen.gEmis]
dCoordEm=+8.98114,-79.52262
dSucEm=0000
dNombEm=FE generada en ambiente de pruebas - sin valor comercial ni fiscal
dDirecEm=PH Global Plaza, 6to. piso. Calle 50
[rFE.gDGen.gEmis.dTfnEm]
0=123-4567
[rFE.gDGen.gEmis.dCorElectEmi]
0=demo@siteck.com.mx
[rFE.gDGen.gEmis.gRucEmi]
dDV=00
dTipoRuc=2
dRuc=844084-1-504061
[rFE.gDGen.gEmis.gUbiEm]
dCodUbi=8-8-7
dCorreg=Bella Vista
dProv=Panama
dDistr=Panama
Pasos:
- Instalar el ejecutable SDK2.exe
- Crear un archivo llamado c:\alguna_carpeta\factura.ini
- Ejecutar en linea de comandos c:\sdk2\timbrar64.bat "c:\alguna_carpeta\factura.ini"
- Ver archivo de respuesta en c:\alguna_carpeta\factura
_respuesta.ini
Desde C#, VB, VFP, etc... utiliza la función para ejecutar comandos del sistema; los nombres comunes tienen nombre system, exec, shell_exec o similares los cuales variara su sintaxis según el lenguaje de programación
VER MANUAL
DESCARGAR PROYECTO C# GOBIERNO
MFSDK sdk;
sdk = new MFSDK();
sdk.Iniciales.Add("MODOINI", "DIVISOR");
sdk.Iniciales.Add("RESPUESTA_UTF8", "SI");
sdk.Iniciales.Add("xml", @"C:\sdk2\timbrados\factura123.xml");
//#NODO [conf]
MFObject conf = new MFObject("conf");
conf["pass"] = "Tb1DOwrrxeLnjYxR70pr";
conf["cer"] = @"C:\sdk2\certificados\certificado_kit.cer";
//#NODO [PAC]
MFObject PAC = new MFObject("PAC");
PAC["usuario"] = "844084-1-504061";
PAC["QR"] = "CEA4A5457603B609E05349D1950A8972CEA4A5457604B609E05349D1950A8972CEA4A5457605B609E05349D1950A8972CEA4A5457606B609E05349D1950A8972";
PAC["pass"] = "pruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebaprueba";
//#NODO [rFE]
MFObject rFE = new MFObject("rFE");
rFE["dVerForm"] = "1.00";
//#NODO [rFE/gItem]
MFObject rFE_gItem = new MFObject("gItem");
//#NODO [rFE/gItem/0]
MFObject rFE_gItem_0 = new MFObject("0");
rFE_gItem_0["dSecItem"] = "0001";
rFE_gItem_0["dCantCodInt"] = "10";
rFE_gItem_0["dCodCPBSabr"] = "81";
rFE_gItem_0["dCodCPBScmp"] = "8111";
rFE_gItem_0["dCodProd"] = "F12345";
rFE_gItem_0["dDescProd"] = "PRODUCTO #1";
//#NODO [rFE/gItem/0/gITBMSItem]
MFObject rFE_gItem_0_gITBMSItem = new MFObject("gITBMSItem");
rFE_gItem_0_gITBMSItem["dTasaITBMS"] = "01";
rFE_gItem_0_gITBMSItem["dValITBMS"] = "7.00";
rFE_gItem_0.AgregaSubnodo(rFE_gItem_0_gITBMSItem);
//#NODO [rFE/gItem/0/gPrecios]
MFObject rFE_gItem_0_gPrecios = new MFObject("gPrecios");
rFE_gItem_0_gPrecios["dPrUnit"] = "10.00";
rFE_gItem_0_gPrecios["dPrItem"] = "100.00";
rFE_gItem_0_gPrecios["dValTotItem"] = "107.00";
rFE_gItem_0.AgregaSubnodo(rFE_gItem_0_gPrecios);
rFE_gItem.AgregaSubnodo(rFE_gItem_0);
//#NODO [rFE/gItem/1]
MFObject rFE_gItem_1 = new MFObject("1");
rFE_gItem_1["dCantCodInt"] = "1";
rFE_gItem_1["dSecItem"] = "0002";
rFE_gItem_1["dCodCPBSabr"] = "81";
rFE_gItem_1["dCodCPBScmp"] = "8111";
rFE_gItem_1["dCodProd"] = "F54321";
rFE_gItem_1["dDescProd"] = "PRODUCTO #2";
//#NODO [rFE/gItem/1/gITBMSItem]
MFObject rFE_gItem_1_gITBMSItem = new MFObject("gITBMSItem");
rFE_gItem_1_gITBMSItem["dTasaITBMS"] = "01";
rFE_gItem_1_gITBMSItem["dValITBMS"] = "7.00";
rFE_gItem_1.AgregaSubnodo(rFE_gItem_1_gITBMSItem);
//#NODO [rFE/gItem/1/gPrecios]
MFObject rFE_gItem_1_gPrecios = new MFObject("gPrecios");
rFE_gItem_1_gPrecios["dPrUnit"] = "100.00";
rFE_gItem_1_gPrecios["dPrItem"] = "100.00";
rFE_gItem_1_gPrecios["dValTotItem"] = "107.00";
rFE_gItem_1.AgregaSubnodo(rFE_gItem_1_gPrecios);
rFE_gItem.AgregaSubnodo(rFE_gItem_1);
//#NODO [rFE/gTot]
MFObject rFE_gTot = new MFObject("gTot");
rFE_gTot["iPzPag"] = "1";
rFE_gTot["dNroItems"] = "2";
rFE_gTot["dTotITBMS"] = "14.00";
rFE_gTot["dTotGravado"] = "14.00";
rFE_gTot["dTotNeto"] = "200.00";
rFE_gTot["dVTot"] = "214.00";
rFE_gTot["dTotRec"] = "214.00";
rFE_gTot["dVTotItems"] = "214.00";
//#NODO [rFE/gTot/gFormaPago]
MFObject rFE_gTot_gFormaPago = new MFObject("gFormaPago");
//#NODO [rFE/gTot/gFormaPago/0]
MFObject rFE_gTot_gFormaPago_0 = new MFObject("0");
rFE_gTot_gFormaPago_0["iFormaPago"] = "02";
rFE_gTot_gFormaPago_0["dVlrCuota"] = "214.00";
rFE_gTot_gFormaPago.AgregaSubnodo(rFE_gTot_gFormaPago_0);
rFE_gTot.AgregaSubnodo(rFE_gTot_gFormaPago);
//#NODO [rFE/gDGen]
MFObject rFE_gDGen = new MFObject("gDGen");
rFE_gDGen["iNatOp"] = "01";
rFE_gDGen["iFormCAFE"] = "1";
rFE_gDGen["iTpEmis"] = "01";
rFE_gDGen["iTipoOp"] = "1";
rFE_gDGen["iDoc"] = "01";
rFE_gDGen["iDest"] = "1";
rFE_gDGen["iEntCAFE"] = "1";
rFE_gDGen["dEnvFE"] = "1";
rFE_gDGen["iProGen"] = "1";
rFE_gDGen["iAmb"] = "2";
rFE_gDGen["dPtoFacDF"] = "002";
rFE_gDGen["dNroDF"] = "0000026838";
rFE_gDGen["dFechaEm"] = "AUTO";
rFE_gDGen["dSeg"] = "860774001";
//#NODO [rFE/gDGen/gDatRec]
MFObject rFE_gDGen_gDatRec = new MFObject("gDatRec");
rFE_gDGen_gDatRec["iTipoRec"] = "03";
rFE_gDGen_gDatRec["dNombRec"] = "AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE";
rFE_gDGen_gDatRec["dDirecRec"] = "Dirección del receptor de la FE";
rFE_gDGen_gDatRec["cPaisRec"] = "PA";
//#NODO [rFE/gDGen/gDatRec/gRucRec]
MFObject rFE_gDGen_gDatRec_gRucRec = new MFObject("gRucRec");
rFE_gDGen_gDatRec_gRucRec["dTipoRuc"] = "2";
rFE_gDGen_gDatRec_gRucRec["dDV"] = "05";
rFE_gDGen_gDatRec_gRucRec["dRuc"] = "8-NT-1-13577";
rFE_gDGen_gDatRec.AgregaSubnodo(rFE_gDGen_gDatRec_gRucRec);
//#NODO [rFE/gDGen/gDatRec/gUbiRec]
MFObject rFE_gDGen_gDatRec_gUbiRec = new MFObject("gUbiRec");
rFE_gDGen_gDatRec_gUbiRec["dCodUbi"] = "8-8-12";
rFE_gDGen_gDatRec_gUbiRec["dCorreg"] = "Juan Diaz";
rFE_gDGen_gDatRec_gUbiRec["dDistr"] = "Panama";
rFE_gDGen_gDatRec_gUbiRec["dProv"] = "Panama";
rFE_gDGen_gDatRec.AgregaSubnodo(rFE_gDGen_gDatRec_gUbiRec);
rFE_gDGen.AgregaSubnodo(rFE_gDGen_gDatRec);
//#NODO [rFE/gDGen/gEmis]
MFObject rFE_gDGen_gEmis = new MFObject("gEmis");
rFE_gDGen_gEmis["dCoordEm"] = "+8.98114,-79.52262";
rFE_gDGen_gEmis["dSucEm"] = "0000";
rFE_gDGen_gEmis["dNombEm"] = "FE generada en ambiente de pruebas - sin valor comercial ni fiscal";
rFE_gDGen_gEmis["dDirecEm"] = "PH Global Plaza, 6to. piso. Calle 50";
//#NODO [rFE/gDGen/gEmis/dTfnEm]
MFObject rFE_gDGen_gEmis_dTfnEm = new MFObject("dTfnEm");
rFE_gDGen_gEmis_dTfnEm["0"] = "123-4567";
rFE_gDGen_gEmis.AgregaSubnodo(rFE_gDGen_gEmis_dTfnEm);
//#NODO [rFE/gDGen/gEmis/dCorElectEmi]
MFObject rFE_gDGen_gEmis_dCorElectEmi = new MFObject("dCorElectEmi");
rFE_gDGen_gEmis_dCorElectEmi["0"] = "demo@siteck.com.mx";
rFE_gDGen_gEmis.AgregaSubnodo(rFE_gDGen_gEmis_dCorElectEmi);
//#NODO [rFE/gDGen/gEmis/gRucEmi]
MFObject rFE_gDGen_gEmis_gRucEmi = new MFObject("gRucEmi");
rFE_gDGen_gEmis_gRucEmi["dDV"] = "00";
rFE_gDGen_gEmis_gRucEmi["dTipoRuc"] = "2";
rFE_gDGen_gEmis_gRucEmi["dRuc"] = "844084-1-504061";
rFE_gDGen_gEmis.AgregaSubnodo(rFE_gDGen_gEmis_gRucEmi);
//#NODO [rFE/gDGen/gEmis/gUbiEm]
MFObject rFE_gDGen_gEmis_gUbiEm = new MFObject("gUbiEm");
rFE_gDGen_gEmis_gUbiEm["dCodUbi"] = "8-8-7";
rFE_gDGen_gEmis_gUbiEm["dCorreg"] = "Bella Vista";
rFE_gDGen_gEmis_gUbiEm["dDistr"] = "Panama";
rFE_gDGen_gEmis_gUbiEm["dProv"] = "Panama";
rFE_gDGen_gEmis.AgregaSubnodo(rFE_gDGen_gEmis_gUbiEm);
rFE_gDGen.AgregaSubnodo(rFE_gDGen_gEmis);
//#Agrega Nodos
sdk.AgregaObjeto(PAC);
sdk.AgregaObjeto(conf);
rFE.AgregaSubnodo(rFE_gDGen);
rFE.AgregaSubnodo(rFE_gItem);
rFE.AgregaSubnodo(rFE_gTot);
sdk.AgregaObjeto(rFE);
//#Ejecuta KIT
SDKRespuesta respuesta = sdk.Timbrar(@"C:\sdk2\timbrar32.bat", @"C:\sdk2\timbrados\", "factura", false);
//Muestra el archivo ini
//textBox1.Text = sdk.Ini;
//Muestra la respuesta de timbrado
//textBox2.Text = respuesta.RespuestaOriginalSDK;
// Se notifica que el SDK se ejecutó
string mensaje = string.Format("Código: {0}\r\nMensaje: {1}", respuesta.Codigo_MF_Numero, respuesta.Codigo_MF_Texto);
MessageBox.Show(this, mensaje, Application.ProductName, MessageBoxButtons.OK, respuesta.Codigo_MF_Numero == "0" ? MessageBoxIcon.Information : MessageBoxIcon.Warning);
VER MANUAL
VER VIDEO APIREST JSON C#
CODIGO FUENTE C#
variable modo (formato de respuesta) : JSON(default)|INI|DIVISOR|SERIALIZE|XML
variable json :
NOTA: parametro conf/cer es el archivo en base64
{
"PAC": {
"usuario": "844084-1-504061",
"pass": "pruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebaprueba",
"QR": "CEA4A5457603B609E05349D1950A8972CEA4A5457604B609E05349D1950A8972CEA4A5457605B609E05349D1950A8972CEA4A5457606B609E05349D1950A8972"
},
"conf": {
"cer": "QmFnIEF0dHJpYnV0ZXMKICAgIGZyaWVuZGx5TmFtZTogY249W0ZdIEZPUk1VTEFSSU9TIENPTUVSQ0lBTEVTIFNBIC0gODQ0MDg0LTEtNTA0MDYxIC0gMDAgLSBDSEFOSVMgVEVKQURBIE1BTlVFTCBSSUNBUkRPLG91PUZBQ1RVUkEgRUxFQ1RST05JQ0Esbz1GSVJNQSBFTEVDVFJPTklDQSxjPVBBIE5vbi1yZXB1ZGlhdGlvbiBLZXkKICAgIGxvY2FsS2V5SUQ6IDI5IEY1IDNGIDM1IDIxIDFFIDA0IEUwIDJEIEIyIDRDIDk1IEFBIDhDIEJFIEUwIApLZXkgQXR0cmlidXRlczogPE5vIEF0dHJpYnV0ZXM+Ci0tLS0tQkVHSU4gRU5DUllQVEVEIFBSSVZBVEUgS0VZLS0tLS0KTUlJRkRqQkFCZ2txaGtpRzl3MEJCUTB3TXpBYkJna3Foa2lHOXcwQkJRd3dEZ1FJTHQ0T0pUS1hCbUVDQWdnQQpNQlFHQ0NxR1NJYjNEUU1IQkFnRzc1R21xL3Q2NkFTQ0JNanJvY0ZoNWxERkNaWmYwbGp0cCtCM0xWeHg5cDVtCkZKVmdacGZBL3dva3djbXI5YUpCQjFjUlhvbDhZTkE0c2xZdUV2Uk1RTEk5S3BqaElL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bFFpaXRoSEQ4cnFVVEFKQmdOVkhSTUVBakFBTUEwR0NTcUcKU0liM0RRRUJDd1VBQTRJQkFRQ0hDN2REY2d1eEhnMmR2U0hPY3pIeFpuWFRXYU00bjJNek9JNEFDNE1RZEI3RAplSGwrNnhUQlVmNWlOQ25QRDJPajMza2tlOFZtNzZTZFBtSWVQSFVYM0p4OThMRzdiUXpNY0VqSVQ0NmRYNkxqCkxJODVWaFJPRnNvS2tUUFd6YzZvejE0dTcvdC9zSXRjUC9ybXF6NzVRNldlZ05ybS9pQWhPUHVSMSt1YThHNFAKR2pTL1ptUnBmUWpWTnhoeE9kUlVLb1owUkxRS2lIK0ZLQXFNZkpDeUdLUHBVdXZjZEYxRElVdlZLZm53ZjlESgpnellUOFY2alFRNzQzVk8yNkIrVmQyY3kwalhHTjlFbjI4ZXBXNGZpUFFidSsyZWZ6a0h1emt1K0JORTFsVVBxClhPb3c4R1hJdk13UlViRzJseEpGYkVNeFAxNmtNbHdiZWd1ckFYVjkKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=",
"pass": "Tb1DOwrrxeLnjYxR70pr"
},
"rFE": {
"dVerForm": "1.00",
"gDGen": {
"iAmb": "2",
"iTpEmis": "01",
"iDoc": "01",
"dNroDF": "0000026838",
"dPtoFacDF": "002",
"dSeg": 860774001,
"dFechaEm": "AUTO",
"iNatOp": "01",
"iTipoOp": "1",
"iDest": "1",
"iFormCAFE": "1",
"iEntCAFE": "1",
"dEnvFE": "1",
"iProGen": "1",
"gEmis": {
"gRucEmi": {
"dTipoRuc": "2",
"dRuc": "844084-1-504061",
"dDV": "00"
},
"dNombEm": "FE generada en ambiente de pruebas - sin valor comercial ni fiscal",
"dSucEm": "0000",
"dCoordEm": "+8.98114,-79.52262",
"dDirecEm": "PH Global Plaza, 6to. piso. Calle 50",
"gUbiEm": {
"dCodUbi": "8-8-7",
"dCorreg": "Bella Vista",
"dDistr": "Panama",
"dProv": "Panama"
},
"dTfnEm": [
"123-4567"
],
"dCorElectEmi": [
"demo@siteck.com.mx"
]
},
"gDatRec": {
"iTipoRec": "03",
"gRucRec": {
"dTipoRuc": "2",
"dRuc": "8-NT-1-13577",
"dDV": "05"
},
"dNombRec": "AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE",
"dDirecRec": "Direcci\u00c3\u00b3n del receptor de la FE",
"gUbiRec": {
"dCodUbi": "8-8-12",
"dCorreg": "Juan Diaz",
"dDistr": "Panama",
"dProv": "Panama"
},
"cPaisRec": "PA"
}
},
"gItem": [
{
"dSecItem": "0001",
"dDescProd": "PRODUCTO #1",
"dCodProd": "F12345",
"dCantCodInt": "10",
"dCodCPBSabr": "81",
"dCodCPBScmp": "8111",
"gPrecios": {
"dPrUnit": "10.00",
"dPrItem": "100.00",
"dValTotItem": "107.00"
},
"gITBMSItem": {
"dTasaITBMS": "01",
"dValITBMS": "7.00"
}
},
{
"dSecItem": "0002",
"dDescProd": "PRODUCTO #2",
"dCodProd": "F54321",
"dCantCodInt": "1",
"dCodCPBSabr": "81",
"dCodCPBScmp": "8111",
"gPrecios": {
"dPrUnit": "100.00",
"dPrItem": "100.00",
"dValTotItem": "107.00"
},
"gITBMSItem": {
"dTasaITBMS": "01",
"dValITBMS": "7.00"
}
}
],
"gTot": {
"dTotNeto": "200.00",
"dTotITBMS": "14.00",
"dTotGravado": "14.00",
"dVTot": "214.00",
"dTotRec": "214.00",
"iPzPag": "1",
"dNroItems": "2",
"dVTotItems": "214.00",
"gFormaPago": [
{
"iFormaPago": "02",
"dVlrCuota": "214.00"
}
]
}
}
}
Ejemplo PHP
$datospost['json']=$datos_factura_json;
$datospost['modo']='JSON';
$res=callAPI('POST', $url, $datospost);
echo $res;
function callAPI($method, $url, $data){
$curl = curl_init();
$options = array(
CURLOPT_RETURNTRANSFER => true, // return web page
CURLOPT_HEADER => false, // don't return headers
CURLOPT_FOLLOWLOCATION => false, // follow redirects
CURLOPT_MAXREDIRS => 1, // stop after 10 redirects
CURLOPT_ENCODING => "", // handle compressed
CURLOPT_USERAGENT => "api-mf", // name of client
CURLOPT_AUTOREFERER => true, // set referrer on redirect
CURLOPT_CONNECTTIMEOUT => 10, // time-out on connect
CURLOPT_TIMEOUT => 10, // time-out on response
);
curl_setopt_array($curl, $options);
switch ($method){
case "POST":
curl_setopt($curl, CURLOPT_POST, 1);
if ($data)
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
break;
case "PUT":
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT");
if ($data)
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
break;
default:
if ($data)
$url = sprintf("%s?%s", $url, http_build_query($data));
}
// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
'APIKEY: 111111111111111111111',
'test-test: application/json',
));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
// EXECUTE:
$result = curl_exec($curl);
if(!$result){die("Connection Failure");}
curl_close($curl);
return $result;
}
Ejemplo C#
using System.Net;
using System.Collections.Specialized;
using System.Text;
var wb = new WebClient();
var data = new NameValueCollection();
string url = "https://pruebasws.siteck.mx/api/";
data["modo"] = "JSON";
data["json"] = entrada.Text;
byte[] responseArray = wb.UploadValues(url, "POST", data);
respuestaws.Text = Encoding.Default.GetString(responseArray);
Ejemplo VB .net
Dim wb As var = New WebClient()
Dim data As var = New NameValueCollection()
Dim url As String = "https://pruebasws.siteck.mx/api/"
data("modo") = "JSON"
data("json") = entrada.Text
Dim responseArray() As Byte = wb.UploadValues(url,"POST",data)
respuestaws.Text = Encoding.Default.GetString(responseArray)
Ejemplo Python
#check if module is installed "python -m pip install requests"
import requests
import json
url = "https://pruebasws.siteck.mx/api/"
datos = {
"modo": "JSON",
"json": """
INSERTAR STRING JSON AQUI
"""
}
response = requests.post(url, datos,verify=False)
print(response.text)
VER MANUAL
VER VIDEO APIREST TXT C#
variable modo (formato de respuesta) : JSON(default)|INI|DIVISOR|SERIALIZE|XML
variable txt :
NOTA: parametro conf/cer es el archivo en base64
[PAC]
usuario=844084-1-504061
QR=CEA4A5457603B609E05349D1950A8972CEA4A5457604B609E05349D1950A8972CEA4A5457605B609E05349D1950A8972CEA4A5457606B609E05349D1950A8972
pass=pruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebapruebaprueba
[conf]
cer=QmFnIEF0dHJpYnV0ZXMKICAgIGZyaWVuZGx5TmFtZTogY249W0ZdIEZPUk1VTEFSSU9TIENPTUVSQ0lBTEVTIFNBIC0gODQ0MDg0LTEtNTA0MDYxIC0gMDAgLSBDSEFOSVMgVEVKQURBIE1BTlVFTCBSSUNBUkRPLG91PUZBQ1RVUkEgRUxFQ1RST05JQ0Esbz1GSVJNQSBFTEVDVFJPTklDQSxjPVBBIE5vbi1yZXB1ZGlhdGlvbiBLZXkKICAgIGxvY2FsS2V5SUQ6IDI5IEY1IDNGIDM1IDIxIDFFIDA0IEUwIDJEIEIyIDRDIDk1IEFBIDhDIEJFIEUwIApLZXkgQXR0cmlidXRlczogPE5vIEF0dHJpYnV0ZXM+Ci0tLS0tQkVHSU4gRU5DUllQVEVEIFBSSVZBVEUgS0VZLS0tLS0KTUlJRkRqQkFCZ2txaGtpRzl3MEJCUTB3TXpBYkJna3Foa2lHOXcwQkJRd3dEZ1FJTHQ0T0pUS1hCbUVDQWdnQQpNQlFHQ0NxR1NJYjNEUU1IQkFnRzc1R21xL3Q2NkFTQ0JNanJvY0ZoNWxERkNaWmYwbGp0cCtCM0xWeHg5cDVtCkZKVmdacGZBL3dva3djbXI5YUpCQjFjUlhvbDhZTkE0c2xZdUV2Uk1RTEk5S3BqaElLelpjWjJVaXBxbVV2OTMKTXJjcjFZaG1GY1U1cVJ5eFQyVExRTGlneHNNa0ZiTG9TZy9rNmcrOW9STnd0bFlGRy9oZktwa1NEWXRMdEhYTApaY2FCMTcralY2NHl0WG1WR290YzlTdVBza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GwrNnhUQlVmNWlOQ25QRDJPajMza2tlOFZtNzZTZFBtSWVQSFVYM0p4OThMRzdiUXpNY0VqSVQ0NmRYNkxqCkxJODVWaFJPRnNvS2tUUFd6YzZvejE0dTcvdC9zSXRjUC9ybXF6NzVRNldlZ05ybS9pQWhPUHVSMSt1YThHNFAKR2pTL1ptUnBmUWpWTnhoeE9kUlVLb1owUkxRS2lIK0ZLQXFNZkpDeUdLUHBVdXZjZEYxRElVdlZLZm53ZjlESgpnellUOFY2alFRNzQzVk8yNkIrVmQyY3kwalhHTjlFbjI4ZXBXNGZpUFFidSsyZWZ6a0h1emt1K0JORTFsVVBxClhPb3c4R1hJdk13UlViRzJseEpGYkVNeFAxNmtNbHdiZWd1ckFYVjkKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
pass=Tb1DOwrrxeLnjYxR70pr
[rFE]
dVerForm=1.00
[rFE.gItem]
[rFE.gItem.0]
dSecItem=0001
dCantCodInt=10
dCodCPBSabr=81
dCodCPBScmp=8111
dCodProd=F12345
dDescProd=PRODUCTO #1
[rFE.gItem.0.gITBMSItem]
dTasaITBMS=01
dValITBMS=7.00
[rFE.gItem.0.gPrecios]
dPrUnit=10.00
dPrItem=100.00
dValTotItem=107.00
[rFE.gItem.1]
dCantCodInt=1
dSecItem=0002
dCodCPBSabr=81
dCodCPBScmp=8111
dCodProd=F54321
dDescProd=PRODUCTO #2
[rFE.gItem.1.gITBMSItem]
dTasaITBMS=01
dValITBMS=7.00
[rFE.gItem.1.gPrecios]
dPrUnit=100.00
dPrItem=100.00
dValTotItem=107.00
[rFE.gTot]
iPzPag=1
dNroItems=2
dTotGravado=14.00
dTotITBMS=14.00
dTotNeto=200.00
dVTotItems=214.00
dTotRec=214.00
dVTot=214.00
[rFE.gTot.gFormaPago]
[rFE.gTot.gFormaPago.0]
iFormaPago=02
dVlrCuota=214.00
[rFE.gDGen]
iFormCAFE=1
iDest=1
iEntCAFE=1
dEnvFE=1
iProGen=1
iTipoOp=1
iNatOp=01
iDoc=01
iTpEmis=01
dPtoFacDF=002
iAmb=2
dNroDF=0000026838
dFechaEm=AUTO
dSeg=860774001
[rFE.gDGen.gDatRec]
iTipoRec=03
dNombRec=AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE
dDirecRec=Dirección del receptor de la FE
cPaisRec=PA
[rFE.gDGen.gDatRec.gRucRec]
dTipoRuc=2
dDV=05
dRuc=8-NT-1-13577
[rFE.gDGen.gDatRec.gUbiRec]
dCodUbi=8-8-12
dCorreg=Juan Diaz
dProv=Panama
dDistr=Panama
[rFE.gDGen.gEmis]
dCoordEm=+8.98114,-79.52262
dSucEm=0000
dNombEm=FE generada en ambiente de pruebas - sin valor comercial ni fiscal
dDirecEm=PH Global Plaza, 6to. piso. Calle 50
[rFE.gDGen.gEmis.dTfnEm]
0=123-4567
[rFE.gDGen.gEmis.dCorElectEmi]
0=demo@siteck.com.mx
[rFE.gDGen.gEmis.gRucEmi]
dDV=00
dTipoRuc=2
dRuc=844084-1-504061
[rFE.gDGen.gEmis.gUbiEm]
dCodUbi=8-8-7
dCorreg=Bella Vista
dProv=Panama
dDistr=Panama
Ejemplo PHP
$datospost['txt']=$datos_factura_txt;
$datospost['modo']='JSON';
$res=callAPI('POST', $url, $datospost);
echo $res;
function callAPI($method, $url, $data){
$curl = curl_init();
$options = array(
CURLOPT_RETURNTRANSFER => true, // return web page
CURLOPT_HEADER => false, // don't return headers
CURLOPT_FOLLOWLOCATION => false, // follow redirects
CURLOPT_MAXREDIRS => 1, // stop after 10 redirects
CURLOPT_ENCODING => "", // handle compressed
CURLOPT_USERAGENT => "api-mf", // name of client
CURLOPT_AUTOREFERER => true, // set referrer on redirect
CURLOPT_CONNECTTIMEOUT => 10, // time-out on connect
CURLOPT_TIMEOUT => 10, // time-out on response
);
curl_setopt_array($curl, $options);
switch ($method){
case "POST":
curl_setopt($curl, CURLOPT_POST, 1);
if ($data)
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
break;
case "PUT":
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT");
if ($data)
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
break;
default:
if ($data)
$url = sprintf("%s?%s", $url, http_build_query($data));
}
// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
'APIKEY: 111111111111111111111',
'test-test: application/json',
));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
// EXECUTE:
$result = curl_exec($curl);
if(!$result){die("Connection Failure");}
curl_close($curl);
return $result;
}
Ejemplo C#
var wb = new WebClient();
var data = new NameValueCollection();
string url = "https://pruebasws.siteck.mx/api/";
data["modo"] = "TXT";
data["txt"] = entrada.Text;
byte[] responseArray = wb.UploadValues(url, "POST", data);
respuestaws.Text = Encoding.Default.GetString(responseArray);
Ejemplo VB .net
Dim wb As var = New WebClient()
Dim data As var = New NameValueCollection()
Dim url As String = "https://pruebasws.siteck.mx/api/"
data("modo") = "TXT"
data("txt") = entrada.Text
Dim responseArray() As Byte = wb.UploadValues(url,"POST",data)
respuestaws.Text = Encoding.Default.GetString(responseArray)
Ejemplo Python
#check if module is installed "python -m pip install requests"
import requests
import json
url = "https://pruebasws.siteck.mx/api/"
datos = {
"modo": "JSON",
"txt": """
INSERTAR STRING JSON AQUI
"""
}
response = requests.post(url, datos,verify=False)
print(response.text)
XML GENERADO
<?xml version="1.0"?>
<rFE xmlns="http://dgi-fep.mef.gob.pa"><dVerForm>1.00</dVerForm><dId>FE01200000844084-1-504061-0000002022120690022123250020121231239995</dId><gDGen><iAmb>2</iAmb><iTpEmis>01</iTpEmis><iDoc>01</iDoc><dNroDF>9002212325</dNroDF><dPtoFacDF>002</dPtoFacDF><dSeg>123123999</dSeg><dFechaEm>2022-12-06T21:18:08-05:00</dFechaEm><iNatOp>01</iNatOp><iTipoOp>1</iTipoOp><iDest>1</iDest><iFormCAFE>1</iFormCAFE><iEntCAFE>1</iEntCAFE><dEnvFE>1</dEnvFE><iProGen>1</iProGen><gEmis><gRucEmi><dTipoRuc>2</dTipoRuc><dRuc>844084-1-504061</dRuc><dDV>00</dDV></gRucEmi><dNombEm>FE generada en ambiente de pruebas - sin valor comercial ni fiscal</dNombEm><dSucEm>0000</dSucEm><dCoordEm>+8.98114,-79.52262</dCoordEm><dDirecEm>PH Global Plaza, 6to. piso. Calle 50</dDirecEm><gUbiEm><dCodUbi>8-8-7</dCodUbi><dCorreg>Bella Vista</dCorreg><dDistr>Panama</dDistr><dProv>Panama</dProv></gUbiEm><dTfnEm>830-2615</dTfnEm><dTfnEm>833-7053</dTfnEm><dCorElectEmi>contacto@siteck.com.mx</dCorElectEmi><dCorElectEmi>dgonzalez@siteckpma.com</dCorElectEmi></gEmis><gDatRec><iTipoRec>03</iTipoRec><gRucRec><dTipoRuc>2</dTipoRuc><dRuc>8-NT-1-13577</dRuc><dDV>05</dDV></gRucRec><dNombRec>AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE</dNombRec><dDirecRec>Dirección del receptor de la FE</dDirecRec><gUbiRec><dCodUbi>8-8-12</dCodUbi><dCorreg>Juan Diaz</dCorreg><dDistr>Panama</dDistr><dProv>Panama</dProv></gUbiRec><cPaisRec>PA</cPaisRec></gDatRec></gDGen><gItem><dSecItem>0001</dSecItem><dDescProd>PRODUCTO #1</dDescProd><dCodProd>F12345</dCodProd><dCantCodInt>10</dCantCodInt><dCodCPBSabr>81</dCodCPBSabr><dCodCPBScmp>8111</dCodCPBScmp><gPrecios><dPrUnit>10.00</dPrUnit><dPrItem>100.00</dPrItem><dValTotItem>107.00</dValTotItem></gPrecios><gITBMSItem><dTasaITBMS>01</dTasaITBMS><dValITBMS>7.00</dValITBMS></gITBMSItem></gItem><gItem><dSecItem>0002</dSecItem><dDescProd>PRODUCTO #2</dDescProd><dCodProd>F54321</dCodProd><dCantCodInt>1</dCantCodInt><dCodCPBSabr>81</dCodCPBSabr><dCodCPBScmp>8111</dCodCPBScmp><gPrecios><dPrUnit>100.00</dPrUnit><dPrItem>100.00</dPrItem><dValTotItem>107.00</dValTotItem></gPrecios><gITBMSItem><dTasaITBMS>01</dTasaITBMS><dValITBMS>7.00</dValITBMS></gITBMSItem></gItem><gTot><dTotNeto>200.00</dTotNeto><dTotITBMS>14.00</dTotITBMS><dTotGravado>14.00</dTotGravado><dVTot>214.00</dVTot><dTotRec>214.00</dTotRec><iPzPag>1</iPzPag><dNroItems>2</dNroItems><dVTotItems>214.00</dVTotItems><gFormaPago><iFormaPago>02</iFormaPago><dVlrCuota>214.00</dVlrCuota></gFormaPago></gTot><Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>bT1yu3WNjS4EeVmfy1z7NWgvAlAZXgyP5XCrV5q+gBE=</DigestValue></Reference></SignedInfo><SignatureValue>PrgFUAolln9n9TaRKMXedijFwfeHkpW/oTjGJauGpvM5bnLxYN1/emdXM4UGnw/0vsIGD9uTiBibIGtCRzOEuIZHOOKeNgKktUgPjEAnzo8iAEe9qACGs6NbP6n5nrWhdnL3KNbIIbdpCGeU6ld49likbnb5U58XNuhORySF6UIeVDIq5lUkBMOEkvCc86bJy872wDKEdnN6VgmnN7eNjLUpWmJ0lmKPLlKK+MFoPjPJ/asYaDJy+wdftWLokvpMas7EIssLofmIdVOyqEpzfywmTiRTcsf4EQZXpWvzI6JnzCGDO9G5pBkHONdaTKGED249mxlQpJBgjDPvUvuyeA==</SignatureValue>
<KeyInfo><X509Data><X509SubjectName>CN=[F]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xYrJJKBlBASSV8ruBKwVfdYX1WhGslr5sSeYlwTU+16Jx+iz2m81LqW
HxJiGQzmYRomP1aBUkRdZe/IcHj8A8vCAciA7j9C/vHEugLBF0utxFurYFyYsaUM+9aesd4YH2NG
o/EtO7HOfXqzB+LxEgVDPsD4Dm0ybzzCTksQVYgkMaAZpgaqDBdeX3/B3q5giHJG7uqjPCMt130d
frV2I/lOgVDfr+3OfcY=
</X509Certificate></X509Data></KeyInfo></Signature><gNoFirm><dQRCode><![CDATA[https://dgi-fep-test.mef.gob.pa:40001/Consultas/FacturasPorQR?chFE=FE01200000844084-1-504061-0000002022120690022123250020121231239995&iAmb=2&digestValue=bT1yu3WNjS4EeVmfy1z7NWgvAlAZXgyP5XCrV5q+gBE=&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjaEZFIjoiRkUwMTIwMDAwMDg0NDA4NC0xLTUwNDA2MS0wMDAwMDAyMDIyMTIwNjkwMDIyMTIzMjUwMDIwMTIxMjMxMjM5OTk1IiwiaUFtYiI6IjIiLCJkaWdlc3RWYWx1ZSI6ImJUMXl1M1dOalM0RWVWbWZ5MXo3TldndkFsQVpYZ3lQNVhDclY1cStnQkU9In0.KBHFTyYzooM3klVwsRP4_pIeCbnIVT0l0DErM6EmMYA]]></dQRCode></gNoFirm></rFE>
AUTORIZACION DE USO
<?xml version="1.0" encoding="UTF-8"?>
<rContFe xmlns="http://dgi-fep.mef.gob.pa">
<dVerForm>1.00</dVerForm>
<xFe><rFE xmlns="http://dgi-fep.mef.gob.pa"><dVerForm>1.00</dVerForm><dId>FE01200000844084-1-504061-0000002022120690022123250020121231239995</dId><gDGen><iAmb>2</iAmb><iTpEmis>01</iTpEmis><iDoc>01</iDoc><dNroDF>9002212325</dNroDF><dPtoFacDF>002</dPtoFacDF><dSeg>123123999</dSeg><dFechaEm>2022-12-06T21:18:08-05:00</dFechaEm><iNatOp>01</iNatOp><iTipoOp>1</iTipoOp><iDest>1</iDest><iFormCAFE>1</iFormCAFE><iEntCAFE>1</iEntCAFE><dEnvFE>1</dEnvFE><iProGen>1</iProGen><gEmis><gRucEmi><dTipoRuc>2</dTipoRuc><dRuc>844084-1-504061</dRuc><dDV>00</dDV></gRucEmi><dNombEm>FE generada en ambiente de pruebas - sin valor comercial ni fiscal</dNombEm><dSucEm>0000</dSucEm><dCoordEm>+8.98114,-79.52262</dCoordEm><dDirecEm>PH Global Plaza, 6to. piso. Calle 50</dDirecEm><gUbiEm><dCodUbi>8-8-7</dCodUbi><dCorreg>Bella Vista</dCorreg><dDistr>Panama</dDistr><dProv>Panama</dProv></gUbiEm><dTfnEm>830-2615</dTfnEm><dTfnEm>833-7053</dTfnEm><dCorElectEmi>contacto@siteck.com.mx</dCorElectEmi><dCorElectEmi>dgonzalez@siteckpma.com</dCorElectEmi></gEmis><gDatRec><iTipoRec>03</iTipoRec><gRucRec><dTipoRuc>2</dTipoRuc><dRuc>8-NT-1-13577</dRuc><dDV>05</dDV></gRucRec><dNombRec>AUTORIDAD DEL TRANSITO Y TRANSPORTE TERRESTRE</dNombRec><dDirecRec>Dirección del receptor de la FE</dDirecRec><gUbiRec><dCodUbi>8-8-12</dCodUbi><dCorreg>Juan Diaz</dCorreg><dDistr>Panama</dDistr><dProv>Panama</dProv></gUbiRec><cPaisRec>PA</cPaisRec></gDatRec></gDGen><gItem><dSecItem>0001</dSecItem><dDescProd>PRODUCTO #1</dDescProd><dCodProd>F12345</dCodProd><dCantCodInt>10</dCantCodInt><dCodCPBSabr>81</dCodCPBSabr><dCodCPBScmp>8111</dCodCPBScmp><gPrecios><dPrUnit>10.00</dPrUnit><dPrItem>100.00</dPrItem><dValTotItem>107.00</dValTotItem></gPrecios><gITBMSItem><dTasaITBMS>01</dTasaITBMS><dValITBMS>7.00</dValITBMS></gITBMSItem></gItem><gItem><dSecItem>0002</dSecItem><dDescProd>PRODUCTO #2</dDescProd><dCodProd>F54321</dCodProd><dCantCodInt>1</dCantCodInt><dCodCPBSabr>81</dCodCPBSabr><dCodCPBScmp>8111</dCodCPBScmp><gPrecios><dPrUnit>100.00</dPrUnit><dPrItem>100.00</dPrItem><dValTotItem>107.00</dValTotItem></gPrecios><gITBMSItem><dTasaITBMS>01</dTasaITBMS><dValITBMS>7.00</dValITBMS></gITBMSItem></gItem><gTot><dTotNeto>200.00</dTotNeto><dTotITBMS>14.00</dTotITBMS><dTotGravado>14.00</dTotGravado><dVTot>214.00</dVTot><dTotRec>214.00</dTotRec><iPzPag>1</iPzPag><dNroItems>2</dNroItems><dVTotItems>214.00</dVTotItems><gFormaPago><iFormaPago>02</iFormaPago><dVlrCuota>214.00</dVlrCuota></gFormaPago></gTot><Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>bT1yu3WNjS4EeVmfy1z7NWgvAlAZXgyP5XCrV5q+gBE=</DigestValue></Reference></SignedInfo><SignatureValue>PrgFUAolln9n9TaRKMXedijFwfeHkpW/oTjGJauGpvM5bnLxYN1/emdXM4UGnw/0vsIGD9uTiBibIGtCRzOEuIZHOOKeNgKktUgPjEAnzo8iAEe9qACGs6NbP6n5nrWhdnL3KNbIIbdpCGeU6ld49likbnb5U58XNuhORySF6UIeVDIq5lUkBMOEkvCc86bJy872wDKEdnN6VgmnN7eNjLUpWmJ0lmKPLlKK+MFoPjPJ/asYaDJy+wdftWLokvpMas7EIssLofmIdVOyqEpzfywmTiRTcsf4EQZXpWvzI6JnzCGDO9G5pBkHONdaTKGED249mxlQpJBgjDPvUvuyeA==</SignatureValue>
<KeyInfo><X509Data><X509SubjectName>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gBbYpLxYrJJKBlBASSV8ruBKwVfdYX1WhGslr5sSeYlwTU+16Jx+iz2m81LqW
HxJiGQzmYRomP1aBUkRdZe/IcHj8A8vCAciA7j9C/vHEugLBF0utxFurYFyYsaUM+9aesd4YH2NG
o/EtO7HOfXqzB+LxEgVDPsD4Dm0ybzzCTksQVYgkMaAZpgaqDBdeX3/B3q5giHJG7uqjPCMt130d
frV2I/lOgVDfr+3OfcY=
</X509Certificate></X509Data></KeyInfo></Signature><gNoFirm><dQRCode><![CDATA[https://dgi-fep-test.mef.gob.pa:40001/Consultas/FacturasPorQR?chFE=FE01200000844084-1-504061-0000002022120690022123250020121231239995&iAmb=2&digestValue=bT1yu3WNjS4EeVmfy1z7NWgvAlAZXgyP5XCrV5q+gBE=&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjaEZFIjoiRkUwMTIwMDAwMDg0NDA4NC0xLTUwNDA2MS0wMDAwMDAyMDIyMTIwNjkwMDIyMTIzMjUwMDIwMTIxMjMxMjM5OTk1IiwiaUFtYiI6IjIiLCJkaWdlc3RWYWx1ZSI6ImJUMXl1M1dOalM0RWVWbWZ5MXo3TldndkFsQVpYZ3lQNVhDclY1cStnQkU9In0.KBHFTyYzooM3klVwsRP4_pIeCbnIVT0l0DErM6EmMYA]]></dQRCode></gNoFirm></rFE></xFe>
<xProtFe><rProtFe xmlns="http://dgi-fep.mef.gob.pa">
<dVerForm>1.00</dVerForm>
<gInfProt>
<dId>3097287939</dId>
<iAmb>2</iAmb>
<dVerApl>1.00</dVerApl>
<dCUFE>FE01200000844084-1-504061-0000002022120690022123250020121231239995</dCUFE>
<dFecProc>2022-12-06T21:18:09-05:00</dFecProc>
<dProtAut>0000155704603-2-202100000000000000012143</dProtAut>
<dDigVal>bT1yu3WNjS4EeVmfy1z7NWgvAlAZXgyP5XCrV5q+gBE=</dDigVal>
<gResProc>
<dCodRes>0260</dCodRes>
<dMsgRes>Autorizado el uso de la FE</dMsgRes>
</gResProc>
</gInfProt>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>IrVYXarnUb2uw83RRt8vb9Pg9Qq8CbuAsvOoAUj5AH0=</DigestValue></Reference></SignedInfo><SignatureValue>bP/Q3JhhA7YzPSCcHQAXN+DJ9JT3I4kuGyZqWqUyQ5kfxVMIaN/fC/YcxNWNPeYl11AHyzMY+AD4yKyIZ/3G8ntirjUfoVhvkr1JBGlE26YrOVn6cH2IGS0mCU9crRg3T9vY9v1NuTrCSsorG5q38Kq5Eab8C+8zg9EdzaMpuN/j81Ub0ghPDlGbsBNhI2OMhPJYP57aApSxX5tRBMUbukS/JvE895ZoUy5bUfQJOLtoBaPhM/revWT07Mgak4hWcr7yK4Lwo+IaVr49RODuPYauQYfowWJOH1gcIILU20nWbsjRQxQlFdqORLOnsVtcDxUsf0qqVM7aNuqzOETZMA==</SignatureValue>
<KeyInfo><X509Data><X509SubjectName>CN=[F] SITECK PANAMA - 155704603-2-2021 - 15 - CORTES ALTUNA EDUARDO OLMEDO,OU=FACTURA ELECTRONICA,O=FIRMA ELECTRONICA,C=PA</X509SubjectName><X509Certificate>MIIGYjCCBUqgAwIBAgIQNtgBuz/SsydgktoaKcnc6jANBgkqhkiG9w0BAQsFADBFMQswCQYDVQQG
EwJQQTEaMBgGA1UECgwRRklSTUEgRUxFQ1RST05JQ0ExGjAYBgNVBAMMEUNBIFBBTkFNQSBDTEFT
RSAyMB4XDTIxMDUwNTE3NDcwNloXDTIzMDUwNTE3NDcwNlowgZoxCzAJBgNVBAYTAl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+h4x8SFPvvUMTAfBgNV
HSMEGDAWgBTo/mz2CJUqutxkuaBZbu3QvPDJcjCBygYDVR0gBIHCMIG/MIG8BghghE8BAgIGAjCB
rzA2BggrBgEFBQcCARYqaHR0cDovL3d3dy5wa2kuZ29iLnBhL25vcm1hdGl2YS9pbmRleC5odG1s
MHUGCCsGAQUFBwICMGkaZ0NlcnRpZmljYWRvIHN1amV0byBhIGxhIERlY2xhcmFjaW9uIGRlIFBy
YWN0aWNhcyBkZSBDZXJ0aWZpY2FjaW9uIGRlIEZpcm1hIEVsZWN0cm9uaWNhIGRlIFBhbmFtYSAo
MjAxMikwZwYIKwYBBQUHAQEEWzBZMDMGCCsGAQUFBzAChidodHRwOi8vd3d3LnBraS5nb2IucGEv
Y2FjZXJ0cy9jYXBjMi5jcnQwIgYIKwYBBQUHMAGGFmh0dHA6Ly9vY3NwLnBraS5nb2IucGEwNQYD
VR0fBC4wLDAqoCigJoYkaHR0cDovL3d3dy5wa2kuZ29iLnBhL2NybHMvY2FwYzIuY3JsMA0GCSqG
SIb3DQEBCwUAA4IBAQCdQGOtQoTj3/U/G2PRjtVeD6WDravDtdwn5sn8/VGc+//WUwhMURRc2Wiy
x3JT/01oqd4i05i60w9J7NiqfyTYDNHAhm9JH7tjmlt28XMpYin4Dt/ig98NRpRzCFby3vdtByUB
db2dUR81TlwUb14vLorl9/HWHyfIoWRIJikFtany2rsGjvzWYcJKicCmJ4K5mU6RABRo1FvohprA
ofVnQx4Qyfus+pe2rn4D6YDXZQkOKAH7vjHEFJ+++AIIrWplXuTcRdZlpNsjlFkAXXpzSQai7arE
3pr/tibd2zpJPtrpCyMJvagXpVY1h/BzhQe+O0ThT/x0yDhoVN9rrDFy
</X509Certificate></X509Data></KeyInfo></Signature></rProtFe>
</xProtFe>
</rContFe>
RESPUESTA DEL WEBSERVICE
Este es un ejemplo de los elementos y el formato cambia segun el ambiente
NOTAS:
PHP : respuesta en array
TXT : respuesta en TXT
C# : respuesta en SDKRespuesta respuesta
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0tBSDd2akhFRkorKytBSUlyV3BsWHVUY1JkWmxwTnNqbEZrQVhYcHpTUWFpN2FyRQozcHIvdGliZDJ6cEpQdHJwQ3lNSnZhZ1hwVlkxaC9CemhRZStPMFRoVC94MHlEaG9WTjlyckRGeQo8L1g1MDlDZXJ0aWZpY2F0ZT48L1g1MDlEYXRhPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3JQcm90RmU+CjwveFByb3RGZT4NCiAgICAgICAgPC9yUmV0RW52aUZlPg==","codigo":"0260","codigo_txt":"0260","codigo_advertencias":"","saldo":918098,"dProtAut":"0000155704603-2-202100000000000000012143","dFecProc":"2022-12-06T21:18:09-05:00","QR":"aHR0cHM6Ly9kZ2ktZmVwLXRlc3QubWVmLmdvYi5wYTo0MDAwMS9Db25zdWx0YXMvRmFjdHVyYXNQb3JRUj9jaEZFPUZFMDEyMDAwMDA4NDQwODQtMS01MDQwNjEtMDAwMDAwMjAyMjEyMDY5MDAyMjEyMzI1MDAyMDEyMTIzMTIzOTk5NSZpQW1iPTImZGlnZXN0VmFsdWU9YlQxeXUzV05qUzRFZVZtZnkxejdOV2d2QWxBWlhneVA1WENyVjVxK2dCRT0mand0PWV5SjBlWEFpT2lKS1YxUWlMQ0poYkdjaU9pSklVekkxTmlKOS5leUpqYUVaRklqb2lSa1V3TVRJd01EQXdNRGcwTkRBNE5DMHhMVFV3TkRBMk1TMHdNREF3TURBeU1ESXlNVEl3Tmprd01ESXlNVEl6TWpVd01ESXdNVEl4TWpNeE1qTTVPVGsxSWl3aWFVRnRZaUk2SWpJaUxDSmthV2RsYzNSV1lXeDFaU0k2SW1KVU1YbDFNMWRPYWxNMFJXVldiV1o1TVhvM1RsZG5ka0ZzUVZwWVozbFFOVmhEY2xZMWNTdG5Ra1U5SW4wLktCSEZUeVl6b29NM2tsVndzUlA0X3BJZUNibklWVDBsMERFck02RW1NWUE=","dId":"3097287939","CUFE":"FE01200000844084-1-504061-0000002022120690022123250020121231239995","ms":"449.699"}