Skip to content

verifactu-sdk API


verifactu-sdk API / SoapFaultErrorOptions

Interface: SoapFaultErrorOptions ​

Defined in: src/errors/VerifactuError.ts:170

Constructor options for SoapFaultError, layering SOAP-specific fault metadata on top of the standard VerifactuErrorOptions.

Extends ​

Properties ​

code? ​

readonly optional code?: string

Defined in: src/errors/VerifactuError.ts:50

AEAT error code (e.g. '1108'); omitted when the SDK detects the issue locally without a catalog mapping.

Inherited from ​

VerifactuErrorOptions.code


category? ​

readonly optional category?: ErrorCategory

Defined in: src/errors/VerifactuError.ts:52

AEAT category derived from the catalog.

Inherited from ​

VerifactuErrorOptions.category


field? ​

readonly optional field?: string

Defined in: src/errors/VerifactuError.ts:54

Dotted path of the offending field (e.g. 'breakdown.0.taxRate').

Inherited from ​

VerifactuErrorOptions.field


invoiceId? ​

readonly optional invoiceId?: VerifactuErrorInvoiceId

Defined in: src/errors/VerifactuError.ts:56

Triple identifying the invoice the error belongs to.

Inherited from ​

VerifactuErrorOptions.invoiceId


cause? ​

readonly optional cause?: unknown

Defined in: src/errors/VerifactuError.ts:58

Underlying cause, propagated via Error.cause.

Inherited from ​

VerifactuErrorOptions.cause


faultcode? ​

readonly optional faultcode?: string

Defined in: src/errors/VerifactuError.ts:172

<faultcode> value.


faultstring? ​

readonly optional faultstring?: string

Defined in: src/errors/VerifactuError.ts:174

<faultstring> value.


faultactor? ​

readonly optional faultactor?: string

Defined in: src/errors/VerifactuError.ts:176

Optional <faultactor> value.


detail? ​

readonly optional detail?: string

Defined in: src/errors/VerifactuError.ts:178

Optional <detail> value as raw XML.

Released under the MIT license.