Datos a rellenar del formato canónico para TicketBAI
Será la aplicación la que determine los datos necesarios para su negocio y la posterior utilización para la generación de un registro TicketBAI.
| Valor a rellenar |
|---|
| Formato canónico general |
| Tipo de factura |
Consideraciones respecto a Terceros (buyer, thirdParty) |
En el desglose del detalle es necesario especificar en taxableBases agrupando mismos conceptos de tipos de operación e impuestos:
|
Gipuzkoa y Araba: Detalle de elementos de la factura (details) |
Dirección y código postal del comprador address postalCode |
Tipo de factura
Especificación del tipo de factura: factura completa, factura simplificada, factura emitida en sustitución de facturas simplificadas o factura rectificativa.
| Tipo Factura | isSimplified |
isSimplifiedSubstitution |
isCorrective |
correctiveKey |
|---|---|---|---|---|
| F1 | ||||
| F2 | true | |||
| F3 | true | |||
| R1 | true | 1 | ||
| R2 | true | 2 | ||
| R3 | true | 3 | ||
| R4 | true | 4 | ||
| R5 | true | true | 5 |
Consideraciones respecto a Terceros
| Condición | Acción (buyer, thirdParty) |
|---|---|
isIssuedByThirdParties=true |
Caso de que la factura sea expedida materialmente por un tercero, porque lo emite otro en nombre del obligado tributario. Asignar datos del tercero que expide la factura ( thirdParty):- Identificador del NIF o en el país de residencia ( Tin).- Nombre-razón social ( BusinessName).- En caso ser necesario país de residencia, asignar el tipo de documento ( documentType) y opcionalmente el código del país (country). |
isIssuedByRecipients=true |
Caso de que la factura sea expedida materialmente por un tercero, porque es el destinatario. |
isSimplified=false |
Asignar datos de destinatario (o contraparte, es decir el cliente) de la operación (buyer):- Nombre-razón social ( BusinessName).- En caso ser necesario país de residencia, asignar el tipo de documento ( documentType) y opcionalmente el código del país. |
Equivalencia de Formato canónico con TicketBAI
| Canónico | TicketBAI |
|---|---|
| Seller / Tin | Sujetos / Emisor / NIF |
| Seller / BusinessName | Sujetos / Emisor / ApellidosNombreRazonSocial |
| Buyer / BusinessName | Sujetos / Destinatarios / ApellidosNombreRazonSocial |
| Buyer / PostalCode | Sujetos / Destinatarios / CodigoPostal |
| Buyer / Address | Sujetos / Destinatarios / Direccion |
| Buyer / Tin | Sujetos / Destinatarios / NIF (cuando no se usa IDOtro) |
| Buyer / Tin | Sujetos / Destinatarios / IDOtro / ID |
| Buyer / DocumentType | Sujetos / Destinatarios / IDOtro / IDType |
| Buyer / Country | Sujetos / Destinatarios / IDOtro / CodigoPais |
| IsIssuedByRecipients | Sujetos / EmitidaPorTercerosODestinatario = D |
| IsIssuedByThirdParties | Sujetos / EmitidaPorTercerosODestinatario = T |
| Series | Factura / CabeceraFactura / SerieFactura |
| Number | Factura / CabeceraFactura / NumFactura |
| DateAndTime | Factura / CabeceraFactura / FechaExpedicionFactura + HoraExpedicionFactura |
| IsSimplified | Factura / CabeceraFactura / FacturaSimplificada |
| IsSimplifiedSubstitution | Factura / CabeceraFactura / FacturaEmitidaSustitucionSimplificada |
| IsCorrective | Factura / CabeceraFactura / FacturaRectificativa (si true) |
| CorrectiveKey | Factura / CabeceraFactura / FacturaRectificativa / Codigo |
| CorrectiveType | Factura / CabeceraFactura / FacturaRectificativa / Tipo |
| Correctives / Series | Factura / CabeceraFactura / FacturasRectificadasSustituidas[] / SerieFactura |
| Correctives / Number | Factura / CabeceraFactura / FacturasRectificadasSustituidas[] / NumFactura |
| Correctives / Date | Factura / CabeceraFactura / FacturasRectificadasSustituidas[] / FechaExpedicionFactura |
| Correctives / Base | Factura / CabeceraFactura / FacturaRectificativa / ImporteRectificacionSustitutiva / BaseRectificada |
| Correctives / Quota | Factura / CabeceraFactura / FacturaRectificativa / ImporteRectificacionSustitutiva / CuotaRectificada |
| Correctives / Surcharge | Factura / CabeceraFactura / FacturaRectificativa / ImporteRectificacionSustitutiva / CuotaRecargoRectificada |
| Description | Factura / DatosFactura / DescripcionFactura |
| Total | Factura / DatosFactura / ImporteTotalFactura |
| TransactionDate | Factura / DatosFactura / FechaOperacion |
| Retention | Factura / DatosFactura / RetencionSoportada |
| TaxableBases / TaxableBaseAtCost | Factura / DatosFactura / BaseImponibleACoste |
| TaxableBases / VATKey | Factura / DatosFactura / Claves[] / ClaveRegimenIvaOpTrascendencia |
| Details / Description | Factura / DatosFactura / DetallesFactura[] / DescripcionDetalle |
| Details / Amount | Factura / DatosFactura / DetallesFactura[] / Cantidad |
| Details / Price | Factura / DatosFactura / DetallesFactura[] / ImporteUnitario |
| Details / AmountDiscount | Factura / DatosFactura / DetallesFactura[] / Descuento |
| Details / Total | Factura / DatosFactura / DetallesFactura[] / ImporteTotal |
| TaxableBases / CauseExemption | Factura / desglose / ... / Sujeta / Exenta[] / CausaExencion |
| TaxableBases / NonExemptType | Factura / desglose / ... / Sujeta / NoExenta[] / TipoNoExenta |
| TaxableBases / CauseNotSubject | Factura / desglose / ... / NoSujeta[] / Causa |
| TaxableBases / BaseOrAmount | Factura / desglose / ... / Exenta[] / BaseImponible o NoSujeta[] / Importe o NoExenta[] / DesgloseIVA[] / BaseImponible |
| TaxableBases / TaxRate | Factura / desglose / ... / Sujeta / NoExenta[] / DesgloseIVA[] / TipoImpositivo |
| TaxableBases / TaxFee | Factura / desglose / ... / Sujeta / NoExenta[] / DesgloseIVA[] / CuotaImpuesto |
| TaxableBases / SurchargeTypeEquivalence | Factura / desglose / ... / Sujeta / NoExenta[] / DesgloseIVA[] / TipoRecargoEquivalencia |
| TaxableBases / FeeSurchargeEquivalence | Factura / desglose / ... / Sujeta / NoExenta[] / DesgloseIVA[] / CuotaRecargoEquivalencia |
| TaxableBases / EquivalenceRegime | Factura / desglose / ... / Sujeta / NoExenta[] / DesgloseIVA[] / OperacionEnRecargoDeEquivalenciaORegimenSimplificado |
| TaxableBases / OperationType | Factura / desglose / DesgloseFactura o DesgloseTipoOperacion (PrestacionServicios/Entrega) |
| PreviousSeries | HuellaTBAI / EncadenamientoFacturaAnterior / SerieFacturaAnterior |
| PreviousNumber | HuellaTBAI / EncadenamientoFacturaAnterior / NumFacturaAnterior |
| PreviousDateAndTime | HuellaTBAI / EncadenamientoFacturaAnterior / FechaExpedicionFacturaAnterior |
| PreviousSign | HuellaTBAI / EncadenamientoFacturaAnterior / SignatureValueFirmaFacturaAnterior |
| Canónico | Batuz |
|---|---|
| PropertyTransferAmountSubjectToVAT | FacturasEmitidas[] / OtraInformacionTrascendenciaTributaria / ImporteTransmisionInmueblesSujetoAIVA |
| Properties / Situation | FacturasEmitidas[] / OtraInformacionTrascendenciaTributaria / Inmuebles[] / SituacionInmueble |
| Properties / CadastralReference | FacturasEmitidas[] / OtraInformacionTrascendenciaTributaria / Inmuebles[] / ReferenciaCatastral |
Desglose
El desglose puede ser 'TipoDesglose' o 'DesgloseOperacion'.