Crear Addenda en Facturas Electrónicas

1,707 views
Skip to first unread message

Javier Leal

unread,
Sep 6, 2010, 1:04:36 PM9/6/10
to publice...@googlegroups.com
Que tal, espero se encuentren bien. Me estoy topando con un pequeño detalle en las facturas electrónicas, al momento de querer generar el Addenda quiero poner algo como esto:

    <Addenda>
        <ID>100</ID>
        <ID>200</ID>
    </Addenda>

    Pero al pasarlo por el validador del SAT me dice que el comprobante es válido pero me marca este error:

Error:    cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ID'.

    Alguien sabe a que se debe esto??? como le puedo hacer para generar un Addena??

    Saludos!

-- 
_____________________________________

Ing. Javier Leal M.

Grupo Gas Manager S.A. de C.V.

Automatización de Gasolineras

e-mail: javie...@gasmanager.com

www.gasmanager.com

Tel. +52 (81) 8008-0480
BlackBerry Messenger ID: 21FAF92C



****************************************************************************

*

La presente informacion se envia unicamente para el destinatario, y contiene Informacion de caracter CONFIDENCIAL o PRIVILEGIADA. La modificacion, retransmision, difusion, copia u otro uso de esta informacion por cualquier medio, por personas distintas al destinatario esta estrictamente prohibido.

Si usted no es el destinatario, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna.

Gracias.

The information contained in this message is being sent to the intended recipient, and contains PRIVILEGED / CONFIDENTIAL Information. The modification, retransmission, disclosure, copy or other use of such information by persons other than the intended recipient is strictly prohibited. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Thank you.

Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.

Merci Beacup.


 

Baltazar Moreno

unread,
Sep 6, 2010, 1:16:12 PM9/6/10
to Comunidad de Visual Foxpro en Español
No es un error, mas bien el validador del SAT no valida que exista
addenda, como es sabido, ese elemento es opcional y no tiene
declaración en el xsd del sat.

Te recomiendo que uses otros validadores, (no oficiales) para validar
tu xml, el de SAT te da muy poca información ya que solo valida el
sello y contra el xsd, otros te permiten muchas mas cosas.

Uno bueno y gratuito es el de tralix:

http://validacfd.com.mx/XMLSATFreeValidator/FreeValidator.xsa

Saludos!

On 6 sep, 12:04, Javier Leal <javier.l...@gasmanager.com> wrote:
> Que tal, espero se encuentren bien. Me estoy topando con un peque�o
> detalle en las facturas electr�nicas, al momento de querer generar el
> Addenda quiero poner algo como esto:
>
> <Addenda>
> <ID>100</ID>
> <ID>200</ID>
> </Addenda>
>
>      Pero al pasarlo por el validador del SAT me dice que el comprobante
> es v�lido pero me marca este error:
>
> Error:    cvc-complex-type.2.4.c: The matching wildcard is strict, but
> no declaration can be found for element 'ID'.
>
>      Alguien sabe a que se debe esto??? como le puedo hacer para generar
> un Addena??
>
>      Saludos!
>
> --
> _____________________________________
>
> Ing. Javier Leal M.
>
> Grupo Gas Manager S.A. de C.V.
>
> Automatizaci�n de Gasolineras
>
> e-mail: javier.l...@gasmanager.com
>
> www.gasmanager.com
>
> Tel. +52 (81) 8008-0480
> BlackBerry Messenger ID: 21FAF92C
>
> *************************************************************************** *
>
> *
>
> La presente informacion se envia unicamente para el destinatario, y contiene Informacion de caracter CONFIDENCIAL o PRIVILEGIADA. La modificacion, retransmision, difusion, copia u otro uso de esta informacion por cualquier medio, por personas distintas al destinatario esta estrictamente prohibido.
>
> Si usted no es el destinatario, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna.
>
> Gracias.
>
> The information contained in this message is being sent to the intended recipient, and contains PRIVILEGED / CONFIDENTIAL Information. The modification, retransmission, disclosure, copy or other use of such information by persons other than the intended recipient is strictly prohibited. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.
>
> Thank you.
>
> Ce message �lectronique et tous les fichiers attach�s qu'il contient sont confidentiels et destin�s exclusivement � l'usage de la personne � laquelle ils sont adress�s. Si vous avez re�u ce message par erreur, merci de le retourner � son �metteur. La publication, l'usage, la distribution, l'impression ou la copie non autoris�e de ce message et des attachements qu'il contient sont strictement interdits.
>
> Merci Beacup.

Javier Leal

unread,
Sep 6, 2010, 1:22:36 PM9/6/10
to publice...@googlegroups.com
Perfecto Baltazar, muchas gracias por la información. Entonces no es necesario crear namespaces o algo así?? solamente poner lo que se requiere dentro de <Addenda> y </Addenda>??

Saludos!

_____________________________________

Ing. Javier Leal M.

Grupo Gas Manager S.A. de C.V.

Automatización de Gasolineras

e-mail: javie...@gasmanager.com

BlackBerry Messenger ID: 21FAF92C



****************************************************************************

*

La presente informacion se envia unicamente para el destinatario, y contiene Informacion de caracter CONFIDENCIAL o PRIVILEGIADA. La modificacion, retransmision, difusion, copia u otro uso de esta informacion por cualquier medio, por personas distintas al destinatario esta estrictamente prohibido.

Si usted no es el destinatario, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna.

Gracias.

The information contained in this message is being sent to the intended recipient, and contains PRIVILEGED / CONFIDENTIAL Information. The modification, retransmission, disclosure, copy or other use of such information by persons other than the intended recipient is strictly prohibited. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Thank you.

Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.

Merci Beacup.


 

Baltazar Moreno

unread,
Sep 6, 2010, 2:04:21 PM9/6/10
to Comunidad de Visual Foxpro en Español
Es correcto, tu puedes inventar tu propia addenda, el poner el
namespace, lo que hace es más formal tu xml, es decir, si creas tu XSD
tomando de base el del SAT y administrando el contenido de tu elemento
addenda poniendo reglas, tipos de datos, etc, "cualquiera" podria
entender que debe ir dentro de ese elemento.

En caso particular de las cadenas comerciales, que son quienes nos
solicitan datos adicionales a los del sat (dentro del elemento
addenda) algunos de ellos, te dan el xsd para que valides tu xml, y
que tu informacion valla lo más depurada posible.

Mas si tu lo estas inventando, no es obligatorio el uso de xsd
adicionales (en el entendido de que SAT te lo permite)

Espero haberte ayudado.

Saludos!

http://disxii.com

Recuerda los cambios que se vienen de FE para el año que entra!!

On 6 sep, 12:22, Javier Leal <javier.l...@gasmanager.com> wrote:
> Perfecto Baltazar, muchas gracias por la informaci�n. Entonces no es
> necesario crear namespaces o algo as�?? solamente poner lo que se
> requiere dentro de <Addenda> y </Addenda>??
>
> Saludos!
>
> _____________________________________
>
> Ing. Javier Leal M.
>
> Grupo Gas Manager S.A. de C.V.
>
> Automatizaci�n de Gasolineras
>
> e-mail: javier.l...@gasmanager.com
>
> www.gasmanager.com
>
> Tel. +52 (81) 8008-0480
> BlackBerry Messenger ID: 21FAF92C
>
> *************************************************************************** *
>
> *
>
> La presente informacion se envia unicamente para el destinatario, y contiene Informacion de caracter CONFIDENCIAL o PRIVILEGIADA. La modificacion, retransmision, difusion, copia u otro uso de esta informacion por cualquier medio, por personas distintas al destinatario esta estrictamente prohibido.
>
> Si usted no es el destinatario, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna.
>
> Gracias.
>
> The information contained in this message is being sent to the intended recipient, and contains PRIVILEGED / CONFIDENTIAL Information. The modification, retransmission, disclosure, copy or other use of such information by persons other than the intended recipient is strictly prohibited. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.
>
> Thank you.
>
> Ce message �lectronique et tous les fichiers attach�s qu'il contient sont confidentiels et destin�s exclusivement � l'usage de la personne � laquelle ils sont adress�s. Si vous avez re�u ce message par erreur, merci de le retourner � son �metteur. La publication, l'usage, la distribution, l'impression ou la copie non autoris�e de ce message et des attachements qu'il contient sont strictement interdits.
>
> Merci Beacup.
>
> El 06/09/2010 12:16 p.m., Baltazar Moreno escribi�:
>
>
>
> > No es un error, mas bien el validador del SAT no valida que exista
> > addenda, como es sabido, ese elemento es opcional y no tiene
> > declaraci�n en el xsd del sat.
>
> > Te recomiendo que uses otros validadores, (no oficiales) para validar
> > tu xml, el de SAT te da muy poca informaci�n ya que solo valida el

Javier Leal

unread,
Sep 6, 2010, 2:27:13 PM9/6/10
to publice...@googlegroups.com
Perfecto Baltazar, muchas gracias por la información.

Saludos!

_____________________________________

Ing. Javier Leal M.

Grupo Gas Manager S.A. de C.V.

Automatización de Gasolineras

e-mail: javie...@gasmanager.com

BlackBerry Messenger ID: 21FAF92C



****************************************************************************

*

La presente informacion se envia unicamente para el destinatario, y contiene Informacion de caracter CONFIDENCIAL o PRIVILEGIADA. La modificacion, retransmision, difusion, copia u otro uso de esta informacion por cualquier medio, por personas distintas al destinatario esta estrictamente prohibido.

Si usted no es el destinatario, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna.

Gracias.

The information contained in this message is being sent to the intended recipient, and contains PRIVILEGED / CONFIDENTIAL Information. The modification, retransmission, disclosure, copy or other use of such information by persons other than the intended recipient is strictly prohibited. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Thank you.

Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.

Merci Beacup.


 
Reply all
Reply to author
Forward
0 new messages