Skip to content

verifactu-sdk API


verifactu-sdk API / QrEnvironment

Type Alias: QrEnvironment

QrEnvironment = "preproduction" | "production"

Defined in: src/qr/buildUrl.ts:39

Whether the QR URL targets the preproduction or production environment.

The choice maps to the two host families documented in §5 of the QR spec:

  • 'preproduction'prewww2.aeat.es
  • 'production'www2.agenciatributaria.gob.es

Released under the MIT license.