Open jstaerk opened 1 year ago
I manually run the visualization and in fact the second step, the transform from XR to html fails.
Turns out the .xr file has two Item_price_discount BT-147, one time 0.03 and one time 0.02. If I remove one the second step works.
The Zugferd extended profiles allows multiple discounts (in the sample Artikelrabatt 1 and Artikelrabatt 2), the xrechnung probably not.
A clean solution would be to change the first step's XSLT to write the sum, not the individual entries.
If that had been a trivial issue we could have fixed it with Quba 1.3.0 but in this case I guess it will simply have to wait until we (or anybody else) has time to fix it.
At least the Exception is now actually shown, not silently discarded.
The File EXTENDED_Rechnungskorrektur.pdf from ZF 2.2 Examples also dosen´t work.
see:
Karam reported that the display XML shows a black area like this
when he tries to visualize an official zf 2.0 sample.
zugferd_2p0_EXTENDED_Warenrechnung.pdf
Maybe this is due to the fact that the filename is zugferd-invoice.xml not factur-x.xml?