Relative Content

Tag Archive for javaxmlinvoice

Mustangproject addAllowance on Invoice line Level not working (The method addAllowance(IZUGFeRDAllowanceCharge) is undefined for the type Product)

i’m currently working with the Mustangproject to create an XRechnung invoice. Allowances on document level are working fine. But when i try to add an allowance on invoice line level error is: The method addAllowance(IZUGFeRDAllowanceCharge) is undefined for the type Product.
as well as for Item (in case i cant read the documentation): The method addAllowance(IZUGFeRDAllowanceCharge) is undefined for the type Item

Mustangproject Gross Price and Net Price are the same in XML

i want to set up an XRechnung with the Mustangproject.
From the Validator i get the message, that Item net price MUST equal (Gross price – Allowance amount) when gross price is provided. (/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:IncludedSupplyChainTradeLineItem[1]/ram:SpecifiedLineTradeAgreement[1]/ram:GrossPriceProductTradePrice[1]) and i see why: