#Ji_net
1 messages · Page 1 of 1 (latest)
hi! like it says, you need to account for the total amount. You pass 1365 as the credit note amount but you only have one line item for 1138 — you need to add something to specify what happens to the remainder
But I used to do the same via dashboard and the TVA calculation was different from the one calculated on invoice even it is the same Subtotal
not sure I follow unfortunately
Ok, I need to create a credit note with the same amount of the invoice
I passed one line item to the credit note with an amount equal to 1138 (which is the subtotal of the invoice), I added the tax amount calculated on invoice 228, normally I have to get 1366 in result, why must the sum be equal to (€13.65) as indicated in error?
up
1138 (which is the subtotal of the invoice),
sure but the amount paid on the invoice is 13.65
due to using exclusive tax
no, the amount paid on invoice is 13.66
true, I typod, my bad
maybe ask https://support.stripe.com/?contact=true instead, I find the credit note API really hard to use and don't understand it