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']='05';
$datos['rFE']['gDGen']['dNroDF']='0000034829';
$datos['rFE']['gDGen']['dPtoFacDF']='002';
$datos['rFE']['gDGen']['dSeg']='962881416';
$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']='01';
$datos['rFE']['gDGen']['gDatRec']['gRucRec']['dTipoRuc']='2';
$datos['rFE']['gDGen']['gDatRec']['gRucRec']['dRuc']='155642124-2-2016';
$datos['rFE']['gDGen']['gDatRec']['gRucRec']['dDV']='95';
$datos['rFE']['gDGen']['gDatRec']['dNombRec']='FE generada en ambiente de pruebas - sin valor comercial ni fiscal';
$datos['rFE']['gDGen']['gDatRec']['dDirecRec']='domicilio receptor';
$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']['gDGen']['gDFRef']['0']['gRucEmDFRef']['dTipoRuc']='2';
$datos['rFE']['gDGen']['gDFRef']['0']['gRucEmDFRef']['dRuc']='844084-1-504061';
$datos['rFE']['gDGen']['gDFRef']['0']['gRucEmDFRef']['dDV']='00';
$datos['rFE']['gDGen']['gDFRef']['0']['dNombEmRef']='FE generada en ambiente de pruebas - sin valor comercial ni fiscal';
$datos['rFE']['gDGen']['gDFRef']['0']['dFechaDFRef']='2022-12-01T19:12:25-05:00';
$datos['rFE']['gDGen']['gDFRef']['0']['gDFRefNum']['gDFRefFE']['dCUFERef']='FE01200000844084-1-504061-0000002022120199000123450020121231239993';
$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']['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']['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
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
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
iNatOp=01
iTipoOp=1
iTpEmis=01
dPtoFacDF=002
iAmb=2
iDoc=05
dNroDF=0000034829
dFechaEm=AUTO
dSeg=962881416
[rFE.gDGen.gDFRef]
[rFE.gDGen.gDFRef.0]
dFechaDFRef=2022-12-01T19:12:25-05:00
dNombEmRef=FE generada en ambiente de pruebas - sin valor comercial ni fiscal
[rFE.gDGen.gDFRef.0.gDFRefNum]
[rFE.gDGen.gDFRef.0.gDFRefNum.gDFRefFE]
dCUFERef=FE01200000844084-1-504061-0000002022120199000123450020121231239993
[rFE.gDGen.gDFRef.0.gRucEmDFRef]
dDV=00
dTipoRuc=2
dRuc=844084-1-504061
[rFE.gDGen.gDatRec]
iTipoRec=01
dNombRec=FE generada en ambiente de pruebas - sin valor comercial ni fiscal
cPaisRec=PA
dDirecRec=domicilio receptor
[rFE.gDGen.gDatRec.gRucRec]
dRuc=155642124-2-2016
dTipoRuc=2
dDV=95
[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# NOTA DE DEBITO REFERENTE A UNA FE
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["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["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["iTipoOp"] = "1";
rFE_gDGen["iTpEmis"] = "01";
rFE_gDGen["iFormCAFE"] = "1";
rFE_gDGen["iNatOp"] = "01";
rFE_gDGen["iProGen"] = "1";
rFE_gDGen["iDest"] = "1";
rFE_gDGen["iEntCAFE"] = "1";
rFE_gDGen["dEnvFE"] = "1";
rFE_gDGen["iAmb"] = "2";
rFE_gDGen["dPtoFacDF"] = "002";
rFE_gDGen["iDoc"] = "05";
rFE_gDGen["dNroDF"] = "0000034829";
rFE_gDGen["dFechaEm"] = "AUTO";
rFE_gDGen["dSeg"] = "962881416";
//#NODO [rFE/gDGen/gDFRef]
MFObject rFE_gDGen_gDFRef = new MFObject("gDFRef");
//#NODO [rFE/gDGen/gDFRef/0]
MFObject rFE_gDGen_gDFRef_0 = new MFObject("0");
rFE_gDGen_gDFRef_0["dFechaDFRef"] = "2022-12-01T19:12:25-05:00";
rFE_gDGen_gDFRef_0["dNombEmRef"] = "FE generada en ambiente de pruebas - sin valor comercial ni fiscal";
//#NODO [rFE/gDGen/gDFRef/0/gDFRefNum]
MFObject rFE_gDGen_gDFRef_0_gDFRefNum = new MFObject("gDFRefNum");
//#NODO [rFE/gDGen/gDFRef/0/gDFRefNum/gDFRefFE]
MFObject rFE_gDGen_gDFRef_0_gDFRefNum_gDFRefFE = new MFObject("gDFRefFE");
rFE_gDGen_gDFRef_0_gDFRefNum_gDFRefFE["dCUFERef"] = "FE01200000844084-1-504061-0000002022120199000123450020121231239993";
rFE_gDGen_gDFRef_0_gDFRefNum.AgregaSubnodo(rFE_gDGen_gDFRef_0_gDFRefNum_gDFRefFE);
rFE_gDGen_gDFRef_0.AgregaSubnodo(rFE_gDGen_gDFRef_0_gDFRefNum);
//#NODO [rFE/gDGen/gDFRef/0/gRucEmDFRef]
MFObject rFE_gDGen_gDFRef_0_gRucEmDFRef = new MFObject("gRucEmDFRef");
rFE_gDGen_gDFRef_0_gRucEmDFRef["dDV"] = "00";
rFE_gDGen_gDFRef_0_gRucEmDFRef["dTipoRuc"] = "2";
rFE_gDGen_gDFRef_0_gRucEmDFRef["dRuc"] = "844084-1-504061";
rFE_gDGen_gDFRef_0.AgregaSubnodo(rFE_gDGen_gDFRef_0_gRucEmDFRef);
rFE_gDGen_gDFRef.AgregaSubnodo(rFE_gDGen_gDFRef_0);
rFE_gDGen.AgregaSubnodo(rFE_gDGen_gDFRef);
//#NODO [rFE/gDGen/gDatRec]
MFObject rFE_gDGen_gDatRec = new MFObject("gDatRec");
rFE_gDGen_gDatRec["iTipoRec"] = "01";
rFE_gDGen_gDatRec["dNombRec"] = "FE generada en ambiente de pruebas - sin valor comercial ni fiscal";
rFE_gDGen_gDatRec["cPaisRec"] = "PA";
rFE_gDGen_gDatRec["dDirecRec"] = "domicilio receptor";
//#NODO [rFE/gDGen/gDatRec/gRucRec]
MFObject rFE_gDGen_gDatRec_gRucRec = new MFObject("gRucRec");
rFE_gDGen_gDatRec_gRucRec["dRuc"] = "155642124-2-2016";
rFE_gDGen_gDatRec_gRucRec["dTipoRuc"] = "2";
rFE_gDGen_gDatRec_gRucRec["dDV"] = "95";
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": "QmFnIEF0dHJpYnV0ZXMKICAgIGZyaWVuZGx5TmFtZTogY249W0ZdIEZPUk1VTEFSSU9TIENPTUVSQ0lBTEVTIFNBIC0gODQ0MDg0LTEtNTA0MDYxIC0gMDAgLSBDSEFOSVMgVEVKQURBIE1BTlVFTCBSSUNBUkRPLG91PUZBQ1RVUkEgRUxFQ1RST05JQ0Esbz1GSVJNQSBFTEVDVFJPTklDQSxjPVBBIE5vbi1yZXB1ZGlhdGlvbiBLZXkKICAgIGxvY2FsS2V5SUQ6IDI5IEY1IDNGIDM1IDIxIDFFIDA0IEUwIDJEIEIyIDRDIDk1IEFBIDhDIEJFIEUwIApLZXkgQXR0cm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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": "01",
"gRucRec": {
"dTipoRuc": "2",
"dRuc": "155642124-2-2016",
"dDV": "95"
},
"dNombRec": "FE generada en ambiente de pruebas - sin valor comercial ni fiscal",
"dDirecRec": "domicilio receptor",
"gUbiRec": {
"dCodUbi": "8-8-12",
"dCorreg": "Juan Diaz",
"dDistr": "Panama",
"dProv": "Panama"
},
"cPaisRec": "PA"
},
"gDFRef": [
{
"gRucEmDFRef": {
"dTipoRuc": "2",
"dRuc": "844084-1-504061",
"dDV": "00"
},
"dNombEmRef": "FE generada en ambiente de pruebas - sin valor comercial ni fiscal",
"dFechaDFRef": "2022-12-01T19:12:25-05:00",
"gDFRefNum": {
"gDFRefFE": {
"dCUFERef": "FE01200000844084-1-504061-0000002022120199000123450020121231239993"
}
}
}
]
},
"gItem": [
{
"dSecItem": "0001",
"dDescProd": "PRODUCTO #1",
"dCodProd": "F12345",
"dCantCodInt": "10",
"dCodCPBSabr": "81",
"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",
"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=QmFnIEF0dHJpYnV0ZXMKICAgIGZyaWVuZGx5TmFtZTogY249W0ZdIEZPUk1VTEFSSU9TIENPTUVSQ0lBTEVTIFNBIC0gODQ0MDg0LTEtNTA0MDYxIC0gMDAgLSBDSEFOSVMgVEVKQURBIE1BTlVFTCBSSUNBUkRPLG91PUZBQ1RVUkEgRUxFQ1RST05JQ0Esbz1GSVJNQSBFTEVDVFJPTklDQSxjPVBBIE5vbi1yZXB1ZGlhdGlvbiBLZXkKICAgIGxvY2FsS2V5SUQ6IDI5IEY1IDNGIDM1IDIxIDFFIDA0IEUwIDJEIEIyIDRDIDk1IEFBIDhDIEJFIEUw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TasaITBMS=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
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
iNatOp=01
iTipoOp=1
iTpEmis=01
dPtoFacDF=002
iAmb=2
iDoc=05
dNroDF=0000034829
dFechaEm=AUTO
dSeg=962881416
[rFE.gDGen.gDFRef]
[rFE.gDGen.gDFRef.0]
dFechaDFRef=2022-12-01T19:12:25-05:00
dNombEmRef=FE generada en ambiente de pruebas - sin valor comercial ni fiscal
[rFE.gDGen.gDFRef.0.gDFRefNum]
[rFE.gDGen.gDFRef.0.gDFRefNum.gDFRefFE]
dCUFERef=FE01200000844084-1-504061-0000002022120199000123450020121231239993
[rFE.gDGen.gDFRef.0.gRucEmDFRef]
dDV=00
dTipoRuc=2
dRuc=844084-1-504061
[rFE.gDGen.gDatRec]
iTipoRec=01
dNombRec=FE generada en ambiente de pruebas - sin valor comercial ni fiscal
cPaisRec=PA
dDirecRec=domicilio receptor
[rFE.gDGen.gDatRec.gRucRec]
dRuc=155642124-2-2016
dTipoRuc=2
dDV=95
[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>FE05200000844084-1-504061-0000002022120619000011700020121659824699</dId><gDGen><iAmb>2</iAmb><iTpEmis>01</iTpEmis><iDoc>05</iDoc><dNroDF>1900001170</dNroDF><dPtoFacDF>002</dPtoFacDF><dSeg>165982469</dSeg><dFechaEm>2022-12-06T21:26:24-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>01</iTipoRec><gRucRec><dTipoRuc>2</dTipoRuc><dRuc>155642124-2-2016</dRuc><dDV>95</dDV></gRucRec><dNombRec>FE generada en ambiente de pruebas - sin valor comercial ni fiscal</dNombRec><dDirecRec>domicilio receptor</dDirecRec><gUbiRec><dCodUbi>8-8-12</dCodUbi><dCorreg>Juan Diaz</dCorreg><dDistr>Panama</dDistr><dProv>Panama</dProv></gUbiRec><cPaisRec>PA</cPaisRec></gDatRec><gDFRef><gRucEmDFRef><dTipoRuc>2</dTipoRuc><dRuc>844084-1-504061</dRuc><dDV>00</dDV></gRucEmDFRef><dNombEmRef>FE generada en ambiente de pruebas - sin valor comercial ni fiscal</dNombEmRef><dFechaDFRef>2022-12-01T19:12:25-05:00</dFechaDFRef><gDFRefNum><gDFRefFE><dCUFERef>FE01200000844084-1-504061-0000002022120199000123450020121231239993</dCUFERef></gDFRefFE></gDFRefNum></gDFRef></gDGen><gItem><dSecItem>0001</dSecItem><dDescProd>PRODUCTO #1</dDescProd><dCodProd>F12345</dCodProd><dCantCodInt>10</dCantCodInt><dCodCPBSabr>81</dCodCPBSabr><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><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>NIjYoX8N4FWJgwWsIOX65+d2eiMS/WSRIHMZcJuhhPM=</DigestValue></Reference></SignedInfo><SignatureValue>lx+aWD2NEjZOz9rxnEMYFHwy3Gs/9QQvdXIs9QaBOH2YTND5h8KgU+9e4S7w+fkRynnH+XlnUjuxK9ZkYrRCHm6rY3a4ZnTHhPJ2VphHgGyAGnFVXz03oxz89abdhdgdbkUQFY0RmsmQT3pOBpy2iIGgzVyt/qs0JdtXy3C+OlViO/m2zKgtuNDo9rC0maGhyGxUKyL11oVCUbTCo7EgCBrhI4J4oYMxPGqnvjbUXkWgpGZQj89B8DSPF+MN080HCcjjapGqywQwSR4qlg5cLXM1g1abXvbL1wzZSSeQOG4kmly9JB1Rvggwh4bRpf3OFIIwFOh/AAgKp2N1uu49zA==</SignatureValue>
<KeyInfo><X509Data><X509SubjectName>CN=[F] FORMULARIOS COMERCIALES S A - 844084-1-504061 - 00 - CHANIS TEJADA RAMON AGUSTIN,OU=FACTURA ELECTRONICA,O=FIRMA ELECTRONICA,C=PA</X509SubjectName><X509Certificate>MIIGfzCCBWegAwIBAgIQOftLDHawsYJhTMyFypichzANBgkqhkiG9w0B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CTksQVYgkMaAZpgaqDBdeX3/B3q5giHJG7uqjPCMt130d
frV2I/lOgVDfr+3OfcY=
</X509Certificate></X509Data></KeyInfo></Signature><gNoFirm><dQRCode><![CDATA[https://dgi-fep-test.mef.gob.pa:40001/Consultas/FacturasPorQR?chFE=FE05200000844084-1-504061-0000002022120619000011700020121659824699&iAmb=2&digestValue=NIjYoX8N4FWJgwWsIOX65+d2eiMS/WSRIHMZcJuhhPM=&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjaEZFIjoiRkUwNTIwMDAwMDg0NDA4NC0xLTUwNDA2MS0wMDAwMDAyMDIyMTIwNjE5MDAwMDExNzAwMDIwMTIxNjU5ODI0Njk5IiwiaUFtYiI6IjIiLCJkaWdlc3RWYWx1ZSI6Ik5JallvWDhONEZXSmd3V3NJT1g2NStkMmVpTVNcL1dTUklITVpjSnVoaFBNPSJ9.Xu04yOUpGnlgbTcIY-7uO3hoGkme5leoc1Ig0UdkRtc]]></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>FE05200000844084-1-504061-0000002022120619000011700020121659824699</dId><gDGen><iAmb>2</iAmb><iTpEmis>01</iTpEmis><iDoc>05</iDoc><dNroDF>1900001170</dNroDF><dPtoFacDF>002</dPtoFacDF><dSeg>165982469</dSeg><dFechaEm>2022-12-06T21:26:24-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>01</iTipoRec><gRucRec><dTipoRuc>2</dTipoRuc><dRuc>155642124-2-2016</dRuc><dDV>95</dDV></gRucRec><dNombRec>FE generada en ambiente de pruebas - sin valor comercial ni fiscal</dNombRec><dDirecRec>domicilio receptor</dDirecRec><gUbiRec><dCodUbi>8-8-12</dCodUbi><dCorreg>Juan Diaz</dCorreg><dDistr>Panama</dDistr><dProv>Panama</dProv></gUbiRec><cPaisRec>PA</cPaisRec></gDatRec><gDFRef><gRucEmDFRef><dTipoRuc>2</dTipoRuc><dRuc>844084-1-504061</dRuc><dDV>00</dDV></gRucEmDFRef><dNombEmRef>FE generada en ambiente de pruebas - sin valor comercial ni fiscal</dNombEmRef><dFechaDFRef>2022-12-01T19:12:25-05:00</dFechaDFRef><gDFRefNum><gDFRefFE><dCUFERef>FE01200000844084-1-504061-0000002022120199000123450020121231239993</dCUFERef></gDFRefFE></gDFRefNum></gDFRef></gDGen><gItem><dSecItem>0001</dSecItem><dDescProd>PRODUCTO #1</dDescProd><dCodProd>F12345</dCodProd><dCantCodInt>10</dCantCodInt><dCodCPBSabr>81</dCodCPBSabr><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><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>NIjYoX8N4FWJgwWsIOX65+d2eiMS/WSRIHMZcJuhhPM=</DigestValue></Reference></SignedInfo><SignatureValue>lx+aWD2NEjZOz9rxnEMYFHwy3Gs/9QQvdXIs9QaBOH2YTND5h8KgU+9e4S7w+fkRynnH+XlnUjuxK9ZkYrRCHm6rY3a4ZnTHhPJ2VphHgGyAGnFVXz03oxz89abdhdgdbkUQFY0RmsmQT3pOBpy2iIGgzVyt/qs0JdtXy3C+OlViO/m2zKgtuNDo9rC0maGhyGxUKyL11oVCUbTCo7EgCBrhI4J4oYMxPGqnvjbUXkWgpGZQj89B8DSPF+MN080HCcjjapGqywQwSR4qlg5cLXM1g1abXvbL1wzZSSeQOG4kmly9JB1Rvggwh4bRpf3OFIIwFOh/AAgKp2N1uu49zA==</SignatureValue>
<KeyInfo><X509Data><X509SubjectName>CN=[F] FORMULARIOS COMERCIALES S A - 844084-1-504061 - 00 - CHANIS TEJADA RAMON AGUSTIN,OU=FACTURA ELECTRONICA,O=FIRMA ELECTRONICA,C=PA</X509SubjectName><X509Certificate>MIIGfzCCBWegAwIBAgIQOftLDHawsYJhTMyFypichzANBgkqhkiG9w0BAQsFADBFMQswCQYDVQQG
EwJQQTEaMBgGA1UECgwRRklSTUEgRUxFQ1RST05JQ0ExGjAYBgNVBAMMEUNBIFBBTkFNQSBDTEFT
RSAyMB4XDTIxMDkyMzE4NTA0NVoXDTIzMDkyMzE4NTA0NVowgaYxCzAJBgNVBAYTAlBBMRowGAYD
VQQKDBFGSVJNQSBFTEVDVFJPTklDQTEcMBoGA1UECwwTRkFDVFVSQSBFTEVDVFJPTklDQTFdMFsG
A1UEAwxUW0ZdIEZPUk1VTEFSSU9TIENPTUVSQ0lBTEVTIFMgQSAtIDg0NDA4NC0xLTUwNDA2MSAt
IDAwIC0gQ0hBTklTIFRFSkFEQSBSQU1PTiBBR1VTVElOMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
MIIBCgKCAQEA0pvtAR0yWw1Bo0No0goZpnXYGCkTFGWPZykfJloXbCKr0G4Pxpm8sFK9aI55/v5K
H+PTN9WwBwj8fJZbgFyKyrnpuyV+kd+vme3Cz1dSBdkyPlHpR8yKAwSCiz2lhyBca9xeikS/Bquc
n2FV2GUNo6y64pXsy2644FL/x8LiXYcdPfpB8fpNpvDDMBHBeX049qWdJ2sps9N/LYqqnBQNvfW4
6ePbr3/PC7R3o0BiHrl/DdaGx0uGdJl/3WoKjMMOTD8lNd26TUWl7HKXfqI8VVD3/OuGP5X4GZ2K
vWM9lTzjsv9M6GVpfOXyLe+bBw3XgWZANZUoBsZS58EUGsaEFwIDAQABo4IDBzCCAwMwggEcBgNV
HREEggETMIIBD4EYcmNoYW5pc0BmY29tZXJjaWFsZXMuY29tpIHyMIHvMQ4wDAYHYI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PnBDLgYuN70lNUdJqS
SCpR3MqskVJLXJhgBbYpLxYrJJKBlBASSV8ruBKwVfdYX1WhGslr5sSeYlwTU+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=FE05200000844084-1-504061-0000002022120619000011700020121659824699&iAmb=2&digestValue=NIjYoX8N4FWJgwWsIOX65+d2eiMS/WSRIHMZcJuhhPM=&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjaEZFIjoiRkUwNTIwMDAwMDg0NDA4NC0xLTUwNDA2MS0wMDAwMDAyMDIyMTIwNjE5MDAwMDExNzAwMDIwMTIxNjU5ODI0Njk5IiwiaUFtYiI6IjIiLCJkaWdlc3RWYWx1ZSI6Ik5JallvWDhONEZXSmd3V3NJT1g2NStkMmVpTVNcL1dTUklITVpjSnVoaFBNPSJ9.Xu04yOUpGnlgbTcIY-7uO3hoGkme5leoc1Ig0UdkRtc]]></dQRCode></gNoFirm></rFE></xFe>
<xProtFe><rProtFe xmlns="http://dgi-fep.mef.gob.pa">
<dVerForm>1.00</dVerForm>
<gInfProt>
<dId>4832339843</dId>
<iAmb>2</iAmb>
<dVerApl>1.00</dVerApl>
<dCUFE>FE05200000844084-1-504061-0000002022120619000011700020121659824699</dCUFE>
<dFecProc>2022-12-06T21:26:26-05:00</dFecProc>
<dProtAut>0000155704603-2-202100000000000000012151</dProtAut>
<dDigVal>NIjYoX8N4FWJgwWsIOX65+d2eiMS/WSRIHMZcJuhhPM=</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>mBB3RHH1JnoZprfdFF7f0gilTFa45biTGi0d3zxgel8=</DigestValue></Reference></SignedInfo><SignatureValue>PNkJcTQzrd7yKUnJm95qq0wxeVOlBzydDl08EVGqeopc4eqPJ6+jxj4X8AgfNKc2RNRmM92uAXlpKwxha1wwZn6R/sK5kbbOne+y6t+3Jwojh8e5a+L2GQaqVARM5JOMiRlTiFBeVt3BsozQEXPzsOTQJ1CfHguHocpVEfZ/gYQ345bMK6y6HuxhPfbu3arm3RfIdvde8acwAIeHubF587jKTHy2a/TscswX3qQ/SeZUjvKQVUT6O1ZyyDD6EFg/IrrLwyCO+QpOXzy+/hGgAbeg2lc/EH6yU4i62FwD2J8XSl39R/EmiifEjDNJii0+qZxX4ip+IC8zj2cEeWnKog==</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
RSAyMB4XDTIxMDUwNTE3NDcwNloXDTIzMDUwNTE3NDc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dDgQWBBTrkWD2fpNWv1jlr+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
API REST : respuesta JSON, XML, TXT, SERIALIZADO
WS SOAP WSDL : variables del WS