Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing data in created purchase invoice #86

Open
0xD0M1M0 opened this issue Jan 30, 2025 · 1 comment
Open

Missing data in created purchase invoice #86

0xD0M1M0 opened this issue Jan 30, 2025 · 1 comment
Assignees

Comments

@0xD0M1M0
Copy link

I have an e-invoice with shipping encoded like this:

<ram:SpecifiedTradeAllowanceCharge>
 <ram:ChargeIndicator>
  <udt:Indicator>true</udt:Indicator>
 </ram:ChargeIndicator>
 <ram:ActualAmount>4.95</ram:ActualAmount>
 <ram:ReasonCode>ABK</ram:ReasonCode>
 <ram:Reason>Verp./ Versicherung</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>

The einvoice import is still more or less correct, but when creating the purchase invoice from the imported e-invoice. This 4.95 is being dropped and not assigned to any line or value in the purchase invoice, creating a value difference between the two documents.

@barredterra
Copy link
Member

Problem: this charge is added to the line amount (rate * qty + charge). ERPNext doesn't support this.

Ideas:

  • Add charges/deductions as separate lines
  • At the very least, let the user know when the parsed totals don't match the invoice total

@barredterra barredterra self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants