Comments (15)
el resumen diario incluye a boletas y notas de crédito o débito relacionadas a boletas. Las boletas no son validadas por sunat, solo bastaria con generarla y firmarla. Si quieres validar que el xml cumpla con el esquema del UBL, puedes usar el ubl validator
from demo.
trato de validar pero me sale este error y creo mis rutas estan bien (no lo descargue por que no me deja solo copie la carpeta que viene en "ubl-validador")
from demo.
creo se debe descargar si o si para que lo reconozca ?
from demo.
C:\xampp\htdocs\ubl>composer require greenter/ubl-validator
Root package 'greenter/ubl-validator' cannot require itself in its composer.json
Did you accidentally name your root package after an external package?
from demo.
al parecer estas tratando de instalarlo en el mismo repositorio de ublvalidator, tienes que instalarlo en tu proyecto
from demo.
entonces le agrego al composer de mi proyecto y le doy update?
from demo.
si, si se pudo de esa manera muchas gracias amigo
from demo.
xml:
Notice: Trying to get property 'nodeName' of non-object in C:\xampp\htdocs\invoice\vendor\greenter\ubl-validator\src\Ubl\SchemaValidator.php on line 58
Schema file not found
from demo.
la ruta del archivo si es la correcta? , $xml
si tiene valor cuando pasas a validate() .?
from demo.
si es la ruta correcta
pdf = 10486113532-03-B001-000001
from demo.
que despistado soy !!! ya vi cual es el error mis boletas se generan pero sin datos
from demo.
uso este codigo para mis boletas cual es mi error amigo
public function Generar_boleta($invoice)
{
$util = Util::getInstance();
$see = $util->getSee(SunatEndpoints::FE_BETA);
Util::writeXml($invoice, $see->getFactory()->getLastXml());
$this->sms = "boleta generada correctamente";
$pdf = $util->getPdf($invoice);
$util->showPdf($pdf, $invoice->getName().'.pdf');
return $this->sms;
}
from demo.
no se tiene que enviar la boleta solo generar el xml firmarlo y el pdf
from demo.
si, es que getLastXml()
retorna el ultimo xml enviado a sunat, en tu caso no se envio ninguno.
tendrias que usar.
$xml = $see->getXmlSigned($invoice);
Util::writeXml($invoice, $xml);
from demo.
funciona perfectamente muchas gracias amigo en verdad agradezco mucho tu ayuda y tiempo brindado
from demo.
Related Issues (20)
- Nombre del archivo ZIP no es correo HOT 1
- ERROR EN FECHA DE COMUNICACION DE BAJAS HOT 4
- Facturacion Colombia HOT 1
- error \SoapClient.php on line 19 HOT 1
- error fetching http headers, en resúmenes HOT 3
- status-cdr.php ticket no existe HOT 1
- 3277 - La sumatoria del total valor de venta - operaciones gravadas de línea no corresponden al total
- Factura como anticipo HOT 11
- Nota de credito al contado HOT 6
- Factura con retencion para emitir a empresa que es agente de retención. HOT 2
- Factura credito con detraccion importe neto
- Condición para la forma de pago en la factura
- Generar Guia remision Transportista HOT 7
- Baja de Guias de Remision HOT 2
- Nuevas guias de remision HOT 1
- Consulta de ticket de modo prueba HOT 12
- En el setCodProducto iria un codigo interno o codProducto segun Sunat? HOT 2
- El setSubTotal es el total de la venta sin impuesto? HOT 7
- Consulta: Comunicación de Baja y Resumen diario (Estado y tiempo limite de envio) HOT 5
- Descuento Lineal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demo.