Skip to content

verifactu-sdk API


verifactu-sdk API / ErrorCategory

Type Alias: ErrorCategory

ErrorCategory = "envelope" | "record" | "admissible"

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

Per-AEAT error category.

  • 'envelope' — the entire submission is rejected (4xxx codes).
  • 'record' — only the affected record is rejected (1xxx, 3xxx codes).
  • 'admissible' — the record is accepted but must be subsanado (2xxx codes).

Released under the MIT license.