InvoiceValidator: SpecifiedLogisticsServiceCharge are not taken into account #860
AlexSefrin
started this conversation in
General
Replies: 2 comments
-
|
Good idea. I will work on this for the next release, try to minimize what is necessary to release version 18. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
When working with the EXTENDED profile, you can set the transport costs using
AddLogisticsServiceCharge(); otherwise, they are set usingAddTradeCharge().When I read a file created with the EXTENDED profile, I don't get
ValidationResult.IsValid = truewithValdidator.Validate()because theSpecifiedLogisticsServiceChargeisn't being considered (descriptor.GetLogisticsServiceCharges()isn't used inValdidate()). This also affects the calculation of the VAT amount.Is it possible to integrate this functionality? It wouldn't even be necessary to consider the profile, since the
LogisticsServiceChargesare null in all other cases.Best regards,
Alex
<ram:SpecifiedLogisticsServiceCharge xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"><ram:Description>Transportkosten</ram:Description> <ram:AppliedAmount>15.00</ram:AppliedAmount> <ram:AppliedTradeTax> <ram:TypeCode>VAT</ram:TypeCode> <ram:CategoryCode>S</ram:CategoryCode> <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent> </ram:AppliedTradeTax> </ram:SpecifiedLogisticsServiceCharge>Beta Was this translation helpful? Give feedback.
All reactions