Skip to content

Commit

Permalink
Merge pull request #162 from GLADIATTORXS/parseAtvMoneyFormat
Browse files Browse the repository at this point in the history
chore: increase version
  • Loading branch information
m-arrieta-r authored Oct 17, 2024
2 parents 13da736 + 0f991a9 commit c00f738
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 63 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@facturacr/atv-sdk",
"version": "1.2.8",
"version": "1.2.9",
"description": "Librería (SDK) de Javascript/NodeJS para acceder al API de Administración Tributaria Virtual (ATV) del Ministerio de Hacienda.",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/ATV/mappers/billDocToAtv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const mapOrderLinesToAtvFormat = (orderLines: OrderLine[]): DetalleServicio => {
Monto: parseAtvMoneyFormat(orderLine.tax.amount)
},
// ImpuestoNeto
MontoTotalLinea: orderLine.totalOrderLineAmount
MontoTotalLinea: parseAtvMoneyFormat(orderLine.totalOrderLineAmount)
}
})
return { LineaDetalle }
Expand Down
Loading

0 comments on commit c00f738

Please sign in to comment.