Skip to content

Commit

Permalink
Merge pull request #4 from navariltd/dev1
Browse files Browse the repository at this point in the history
fix - send tax amount as positive number in credit
  • Loading branch information
maniamartial authored Oct 29, 2024
2 parents f46cea3 + 86c2b0e commit 4faa407
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def on_submit(doc: Document, method: str | None = None) -> None:
{
"HSDesc": item.description,
"TaxRate": item.custom_tax_rate,
"ItemAmount": item.net_amount,
"TaxAmount": item.custom_tax_amount,
"ItemAmount": abs(item.net_amount),
"TaxAmount": abs(item.custom_tax_amount),
"TransactionType": "1",
"UnitPrice": item.net_rate,
"HSCode": "",
Expand Down

0 comments on commit 4faa407

Please sign in to comment.