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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user