RegistroConsultado
Defined in: src/xml/parse-consulta.ts:56
Properties
Section titled “Properties”CodigoErrorRegistro?
Section titled “CodigoErrorRegistro?”
optionalCodigoErrorRegistro?:number
Defined in: src/xml/parse-consulta.ts:75
DatosPresentacion?
Section titled “DatosPresentacion?”
optionalDatosPresentacion?:DatosPresentacionConsulta
Defined in: src/xml/parse-consulta.ts:77
DatosRegistroFacturacion
Section titled “DatosRegistroFacturacion”DatosRegistroFacturacion:
Record<string,unknown> &object
Defined in: src/xml/parse-consulta.ts:66
The full stored record as AEAT holds it, including its huella. Comparing
this huella against one computed locally is a single-field check
equivalent to diffing every hashed field, which is how a
duplicate-record ambiguity (error 3000 with no RegistroDuplicado detail)
gets resolved. There is deliberately no csv field here: the CSV exists
only in the submission response and can never be retrieved by a query.
Type Declaration
Section titled “Type Declaration”Huella?
Section titled “Huella?”
optionalHuella?:string
TipoHuella?
Section titled “TipoHuella?”
optionalTipoHuella?:string
DescripcionErrorRegistro?
Section titled “DescripcionErrorRegistro?”
optionalDescripcionErrorRegistro?:string
Defined in: src/xml/parse-consulta.ts:76
EstadoRegistro
Section titled “EstadoRegistro”EstadoRegistro:
EstadoRegistroConsulta
Defined in: src/xml/parse-consulta.ts:74
IDFactura
Section titled “IDFactura”IDFactura:
IDFactura
Defined in: src/xml/parse-consulta.ts:57
TimestampUltimaModificacion
Section titled “TimestampUltimaModificacion”TimestampUltimaModificacion:
string
Defined in: src/xml/parse-consulta.ts:73
When AEAT’s stored copy of this record was last modified. Required by the schema (EstadoRegFactuType), unlike everything else nested inside EstadoRegistro — it’s what lets a consumer reconcile its own records against the authority’s without re-querying everything.