ZUGFeRD / quba-viewer

Quba is a viewer for electronic invoices
Apache License 2.0
97 stars 20 forks source link

Basis quantity not shown #21

Closed jstaerk closed 2 years ago

jstaerk commented 2 years ago

Naser reported: Basisquantity is 10 in the attached invoice but that's never shown to the user Testrechnung.txt image002 image001

jstaerk commented 2 years ago

It turned out your BasisQuantity is only assigned to GrossPriceProductTradePrice, the (Kosit) transformation looks for it in either NetPriceProductTradePrice or in both NetPriceProductTradePrice and GrossPriceProductTradePrice, in the first case it's displayed, in the second case both are displayed with semicolons, like ;