-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello Philip,
I'm using your CIIToUBL converter and it looks like there is a problem converting the CalculationPercent to MultiplierFactorNumeric.
if (aAllowanceCharge.getCalculationPercent () != null)
{
// TODO calc is correct?
aUBLAllowanceCharge.setMultiplierFactorNumeric (aAllowanceCharge.getCalculationPercentValue ().divide (CGlobal.BIGDEC_100));
}I think CalculationPercent should not be divided by 100
You can see the documentation of MultiplierFactorNumeric here
MultiplierFactorNumeric
Line level allowance or charge percentage
The percentage that may be used, in conjunction with the line level allowance base amount, to calculate the line level allowance or charge amount.
Example value: 20
PS: Thank you very much for all your work :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working