Correct with NC
Case: an FE was issued with the wrong recipient address, but the amounts are correct. Hacienda (Costa Rica’s tax authority) requires issuing an NC that documents the correction, followed by a new FE with the correct data.
This NC corrects only textual data: it doesn’t void any amounts, it only formally records the correction. The <clave_original> placeholder must be replaced with the 50-digit key of the original FE.
{
"tipo": "NotaCredito",
"idUsuario": 7,
"cliente": { "idCliente": 42 },
"condicionVenta": "01",
"medioPago": "01",
"moneda": "CRC",
"lineas": [
{ "idProducto": 100, "cantidad": 2 }
],
"referencias": [
{
"tipoDocumento": "01",
"numero": "<clave_original>",
"codigo": "02",
"razon": "Corrige dirección del receptor en factura original"
}
]
}Once the NC is accepted, a new FE must be issued with the correct data. If the issue involves changes to the amounts, see void with NC instead.