You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have detected an unexpected behavior when issuing invoices with the chorus module.
When I have a discount on one of my items and I have several items in the invoice, the module will consider that all the items have a discount, but as these are at 0%, the mandatory associated line (ActualAmount) will not appear for these items without a discount. This generates the following error:
Facture n°FAC/2024/0021:L'element (AppliedTradeAllowanceCharge.ActualAmount.value) est obligatoire si l'element (SupplyChainTradeTransaction.IncludedSupplyChainTradeLineItem.SpecifiedLineTradeAgreement.GrossPriceProductTradePrice) est renseigne.
Example of an item line with a discount:
Other items have the line AppliedTradeAllowanceCharge but no line ActualAmount.
I'm willing to correct this problem with a PR.
Can you help me find out where the file is generated and if I can control the editing of lines according to items?
The text was updated successfully, but these errors were encountered:
Hello,
I have detected an unexpected behavior when issuing invoices with the chorus module.
When I have a discount on one of my items and I have several items in the invoice, the module will consider that all the items have a discount, but as these are at 0%, the mandatory associated line (ActualAmount) will not appear for these items without a discount. This generates the following error:
Facture n°FAC/2024/0021:L'element (AppliedTradeAllowanceCharge.ActualAmount.value) est obligatoire si l'element (SupplyChainTradeTransaction.IncludedSupplyChainTradeLineItem.SpecifiedLineTradeAgreement.GrossPriceProductTradePrice) est renseigne.
Example of an item line with a discount:
![Image](https://private-user-images.githubusercontent.com/83568840/320429893-0d3b34d8-eaed-4468-84f3-7976c41f5a62.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgzMzA1MTAsIm5iZiI6MTcxODMzMDIxMCwicGF0aCI6Ii84MzU2ODg0MC8zMjA0Mjk4OTMtMGQzYjM0ZDgtZWFlZC00NDY4LTg0ZjMtNzk3NmM0MWY1YTYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE0VDAxNTY1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwZDQ3ZWMxNGI1NjJmY2NlYmYxMjYwOWQ5MDUxMTVhNjdhN2YzY2NkMDMwYzNlM2ExMmVkZTkzMWRhZDUzYzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AGSaxuuX0Sj7uNM1RqffSMPkMKKbI4_3JjevJbbgK_4)
Other items have the line AppliedTradeAllowanceCharge but no line ActualAmount.
I'm willing to correct this problem with a PR.
Can you help me find out where the file is generated and if I can control the editing of lines according to items?
The text was updated successfully, but these errors were encountered: