feat(facturacion): cuenta predial para régimen 606 (arrendamiento)
- Frontend: muestra input 'No. Cuenta Predial' en sección 'Datos del Inmueble' cuando el régimen del emisor es 606 (Arrendamiento), antes de Conceptos - Frontend: incluye cuentaPredial en payload; se resetea al cambiar contribuyente - Backend: pasa property_tax_account a nivel de cada item en Facturapi para facturapi.service.ts y contribuyente-facturapi.service.ts - Build y deploy exitosos
This commit is contained in:
@@ -443,6 +443,7 @@ export async function createInvoiceContribuyente(
|
||||
...(t.withholding ? { withholding: true } : {}),
|
||||
})) || [{ type: 'IVA', rate: 0.16 }],
|
||||
},
|
||||
...(data.cuentaPredial ? { property_tax_account: data.cuentaPredial } : {}),
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
@@ -323,6 +323,7 @@ export async function createInvoice(
|
||||
...(t.withholding ? { withholding: true } : {}),
|
||||
})) || [{ type: 'IVA', rate: 0.16 }],
|
||||
},
|
||||
...((data as any).cuentaPredial ? { property_tax_account: (data as any).cuentaPredial } : {}),
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user