diff --git a/README.md b/README.md index fc287f5..e241bd4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@
v0.1.7 (experimental)
+v0.1.8 (experimental)
@@ -17,7 +17,7 @@ - +
diff --git a/package.json b/package.json index 2c39d65..9eaf66a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zatca-xml-js", - "version": "0.1.7", + "version": "0.1.8", "description": "An implementation of Saudi Arabia ZATCA's E-Invoicing requirements, processes, and standards.", "main": "lib/index.js", "files": ["lib/**/*"], diff --git a/src/zatca/ZATCASimplifiedTaxInvoice.ts b/src/zatca/ZATCASimplifiedTaxInvoice.ts index be9d90e..8cbf5a5 100644 --- a/src/zatca/ZATCASimplifiedTaxInvoice.ts +++ b/src/zatca/ZATCASimplifiedTaxInvoice.ts @@ -306,7 +306,7 @@ export class ZATCASimplifiedTaxInvoice { // BT-110 total_taxes = parseFloat(total_taxes.toFixed(2)) - + total_subtotal = parseFloat(total_subtotal.toFixed(2)) if(props.cancelation) { // Invoice canceled. Tunred into credit/debit note. Must have PaymentMeans