Skip to content

Commit

Permalink
ebill_paynet: make amount type 66 tax excluded (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmequignon authored Sep 2, 2021
1 parent 653c01d commit 27ca699
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ebill_paynet/messages/invoice-2003A.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<Price Type="AAA">{{ line.price_subtotal|round(2) }}</Price>
<Price Type="XXX">{{ line.price_total|round(2) }}</Price>
<ITEM-AMOUNT Type="66">
<Amount Currency="{{ invoice.currency_id.name }}">{{ line.price_total|round(2) }}</Amount>
<Amount Currency="{{ invoice.currency_id.name }}">{{ line.price_subtotal|round(2) }}</Amount>
</ITEM-AMOUNT>
{% for tax in line.tax_ids %}
{%- if loop.index == 1 %}
Expand Down
2 changes: 1 addition & 1 deletion ebill_paynet/tests/examples/invoice_isr_b2b.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<Price Type="AAA">492.0</Price>
<Price Type="XXX">529.88</Price>
<ITEM-AMOUNT Type="66">
<Amount Currency="CHF">529.88</Amount>
<Amount Currency="CHF">492.0</Amount>
</ITEM-AMOUNT>
<TAX>
<Rate>7.7</Rate>
Expand Down
2 changes: 1 addition & 1 deletion ebill_paynet/tests/examples/invoice_qr_b2b.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<Price Type="AAA">492.0</Price>
<Price Type="XXX">529.88</Price>
<ITEM-AMOUNT Type="66">
<Amount Currency="CHF">529.88</Amount>
<Amount Currency="CHF">492.0</Amount>
</ITEM-AMOUNT>
<TAX>
<Rate>7.7</Rate>
Expand Down

0 comments on commit 27ca699

Please sign in to comment.