feat(facturacion): precio unitario sin IVA en conceptos

- Cambia label de 'Precio Unitario (IVA incluido)' a 'Precio Unitario (sin IVA)'
- Elimina división interna price/(1+iva) en calcConcepto; ahora price es la base
- Cambia taxIncluded: true → false en payload enviado a backend
- Backend: tax_included default false en facturapi.service.ts y
  contribuyente-facturapi.service.ts
- Build y deploy exitosos
This commit is contained in:
Horux Dev
2026-05-22 22:23:38 +00:00
parent 1bde570035
commit 0c8ae05919
3 changed files with 5 additions and 6 deletions

View File

@@ -435,7 +435,7 @@ export async function createInvoiceContribuyente(
unit_key: item.unitKey || 'E48',
unit_name: item.unitName || 'Servicio',
price: item.price,
tax_included: item.taxIncluded ?? true,
tax_included: item.taxIncluded ?? false,
taxes: item.taxes?.map((t: any) => ({
type: t.type,
rate: t.rate,

View File

@@ -315,7 +315,7 @@ export async function createInvoice(
unit_key: item.unitKey || 'E48',
unit_name: item.unitName || 'Servicio',
price: item.price,
tax_included: item.taxIncluded ?? true,
tax_included: item.taxIncluded ?? false,
taxes: item.taxes?.map(t => ({
type: t.type,
rate: t.rate,