# ARGENTINA FACTURA ELECTRONICA

| Propiedad              | Valor                                                                           |
| ---------------------- | ------------------------------------------------------------------------------- |
| **País / Región**      | Argentina                                                                       |
| **Tipos de documento** | Factura                                                                         |
| **Formato**            | XML                                                                             |
| **Estándar**           | Argentina Factura Electrónica (tipos de comprobante AFIP más allá de Factura A) |
| **Idioma**             | `es_AR`                                                                         |

ARGENTINA FACTURA ELECTRONICA abarca el conjunto más amplio de documentos electrónicos AFIP argentinos más allá de la Factura A (tipo 001). Esto incluye Factura B (tipo 006), Factura C (tipo 011), Nota de Crédito (tipo 003) y otras variantes.

## Estado de soporte

| Componente           | Estado       |
| -------------------- | ------------ |
| Vista previa         | ✅ Compatible |
| Extracción de campos | ✅ Compatible |
| Transformación       | ✅ Compatible |

## Vista previa predeterminada

<figure><img src="/files/DwOxQUjEwfQ1Wts89sil" alt="Vista previa de Argentina Factura Electronica en DocBits"><figcaption><p>Vista previa predeterminada de DocBits para un documento ARGENTINA FACTURA ELECTRONICA</p></figcaption></figure>

## Mapeo de campos

### Campos de cabecera

| Campo DocBits   | Elementos XML de origen                                                   | Notas                             |
| --------------- | ------------------------------------------------------------------------- | --------------------------------- |
| `invoice_id`    | `//NumeroFactura`, `//cbte_nro`, `//CbteNro`, `//InvoiceNumber`           | Múltiples rutas XPath de respaldo |
| `invoice_date`  | `//FechaEmision`, `//cbte_fch`, `//CbteFch`, `//IssueDate`                |                                   |
| `due_date`      | `//fechaVencimiento`, `//fechaVtoPago`                                    |                                   |
| `currency`      | `//Moneda`, `//mon_id`, `//MonId`, respaldo: `ARS`                        |                                   |
| `total_amount`  | `//MontoTotal`, `//imp_total`, `//ImpTotal`, `//TotalAmount`              |                                   |
| `net_amount`    | `//MontoNeto`, `//imp_neto`, `//ImpNeto`, `//NetAmount`                   |                                   |
| `tax_amount`    | `//MontoIVA`, `//imp_iva`, `//ImpIVA`, `//TaxAmount`                      |                                   |
| `supplier_name` | `//NombreProveedor`, `//razon_social`, `//RazonSocial`, `//SellerName`    |                                   |
| `supplier_id`   | `//CUITProveedor`, `//cuit`, `//Cuit`, `//SellerID`                       |                                   |
| `buyer_name`    | `//NombreComprador`, `//nombre_cliente`, `//NombreCliente`, `//BuyerName` |                                   |
| `buyer_id`      | `//CUITComprador`, `//doc_nro`, `//DocNro`, `//BuyerID`                   |                                   |

### Tabla de líneas (`INVOICE_TABLE`)

Ruta de fila: `<items>/<item>`, `<Items>/<Item>` o `<Detalle>/<Linea>`

| Columna       | Atributo / Elemento de origen           | Notas |
| ------------- | --------------------------------------- | ----- |
| `POSITION`    | `@numero`, `<numero>` o `position()`    |       |
| `DESCRIPTION` | `<descripcion>`, `<Descripcion>`        |       |
| `QUANTITY`    | `<cantidad>`, `<Cantidad>`              |       |
| `UNIT_PRICE`  | `<precioUnitario>`, `<PrecioUnitario>`  |       |
| `VAT_RATE`    | `<alicuotaIVA>`, `<AlicuotaIVA>`        |       |
| `VAT`         | `<importeIVA>`, `<ImporteIVA>`          |       |
| `NET_AMOUNT`  | `<subtotal>`, `<Subtotal>`, `<importe>` |       |

## Regla de clasificación

Los documentos con valores de `<tipoComprobante>` distintos de `001` (p.ej. `003`, `006`, `011`) se enrutan a este estándar.

## Relacionados

* [ARGENTINA AFIP](/espanol/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents/argentina-afip.md)
* [Documentos electrónicos compatibles](https://github.com/Fellow-Consulting-AG/docbits/blob/es/readme/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents/README.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.docbits.com/espanol/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents/argentina-factura-electronica.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
