Skip to content

Commit

Permalink
BT-110 for line subtotals
Browse files Browse the repository at this point in the history
  • Loading branch information
wes4m committed Oct 18, 2022
1 parent 9ca2c09 commit e8ca61b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<br/>
<img src="./docs/logo.png"/>
<p>v0.1.7 (experimental)</p>
<p>v0.1.8 (experimental)</p>
<br/>
<br/>
<p>
Expand All @@ -17,7 +17,7 @@
<img src="https://img.shields.io/badge/maintainer-wes4m-blue"/>
</a>
<a href="https://badge.fury.io/js/zatca-xml-js">
<img src="https://badge.fury.io/js/zatca-xml-js.svg/?v=0.1.7"/>
<img src="https://badge.fury.io/js/zatca-xml-js.svg/?v=0.1.8"/>
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/**/*"],
Expand Down
2 changes: 1 addition & 1 deletion src/zatca/ZATCASimplifiedTaxInvoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8ca61b

Please sign in to comment.