TeXhackse / LaTeX-ZUGFeRD

LaTeX packages to create ZUGFeRD/Faktur-X invoices
33 stars 8 forks source link

Update to xrechnung 3.0 #2

Closed grembo closed 4 months ago

grembo commented 5 months ago

This is certainly not perfect, but the result passes online validators without warnings[0].

While there, make sure to not write empty address line two elements (empty elements cause schema warnings).

[0]https://ecosio.com/en/peppol-and-xml-document-validator/

grembo commented 5 months ago

Not sure if this is good enough (my latex skills are beyond rusty), but I figured sharing can't hurt.

TeXhackse commented 5 months ago

thanks -> I had prepared this already as an option. But wanted to finish the docs first. I see if I can speed that up.

TeXhackse commented 5 months ago

concerning validation the current plan is to include the mustang project to the pipelines and maybe even add a latexmk config which does that.

TeXhackse commented 5 months ago

I pushed my version, as I restructured the documentation a bit I will close this one.

In any way seeing the difference made me think if I really want to keep the indentation which is actually not worth it, but I loved it for debugging and maybe even provide some different interface for the xml structure. But that's not yet decided.

It's a bit interesting to see that you seem to have realized how the _@@ module works but then copied from the sty file.

There is one question: why did you disable the email for the basic scheme? As the whole address block is not printed there it should not matter at all. I myself would always print it when it's available and that should be compliant to the standard.

And I wanted to keep compatibility to the older standard as well. simply because I think it's too risky to have changes within invoicing without the user noticing it.

It also made me adding the version option within the demo file itself.

Thanks again a lot for sharing.