Skip to content

Commit ac6fcf3

Browse files
fix: correct digiboox invoice export amount
1 parent 3dc98a4 commit ac6fcf3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/tools/src/digiboox/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ export const exportDigibooxInvoices = (invoices: Invoice[]) => {
6363
? invoiceLine.quantity / 1000
6464
: invoiceLine.quantity,
6565
'Bedrag excl. btw': formatPrice({
66-
value: invoiceLine.discountedLinePriceExcludingTax,
66+
value:
67+
invoiceLine.discountedLinePriceExcludingTax /
68+
invoiceLine.quantity,
6769
locale: 'nl'
6870
})
6971
})

0 commit comments

Comments
 (0)