Skip to content

verifactu-sdk API


verifactu-sdk API / RegisterInvoiceRecordResult

Interface: RegisterInvoiceRecordResult

Defined in: src/types.ts:374

Per-record outcome of a submission response.

Properties

invoiceId

invoiceId: InvoiceId

Defined in: src/types.ts:376

Identifier of the record this entry refers to.


operation

operation: "Alta" | "Anulacion"

Defined in: src/types.ts:378

AEAT-reported operation type.


externalReference?

optional externalReference?: string

Defined in: src/types.ts:380

External reference echoed back from the request.


state

state: RecordState

Defined in: src/types.ts:382

State of this record (L19).


errorCode?

optional errorCode?: number

Defined in: src/types.ts:384

AEAT error code, if any.


errorDescription?

optional errorDescription?: string

Defined in: src/types.ts:386

AEAT error description, if any.

Released under the MIT license.