mocop
Browse · Docs · Guide · Analyze

Attestwire API

API by Attestwire · rest

Validate an invoice against EN 16931 and its national CIUS rules (XRechnung, Peppol BIS 3) and get back errors that teach the regulation: every failure carries the official rule id, the business term it constrains, what the rule requires, and how to fix it. Invoices go in and come out in both EN 16931 syntaxes, UBL 2.1 and UN/CEFACT CII; the profile chooses the syntax on generate, and on validate the document's root element does. The facturx-en16931 profile is checked against core EN 16931 only — there are no Factur-X-specific rules. PDF: Factur-X and ZUGFeRD files are CII XML inside a PDF/A-3 container. POST /v1/validate and POST /v1/parse open one sent as application/pdf, on every plan, and read the XML attached to it; /v1/validate also reports on the PDF. Of the PDF itself, the attachment (its name, /AFRelationship and MIME type) and the XMP metadata are checked, and each problem is an AW-PDF-* finding, none of them fatal; PDF/A conformance itself, and whether the page agrees…

Endpoint: https://api.attestwire.com/

Verification: observed. Source: crawl.

Capabilities (21)

  • The Ed25519 public keys Attestwire signs with
  • Whether billing is enabled on this deployment
  • Start a hosted checkout to upgrade a key
  • Mint a one-time billing-portal link
  • Mint a one-time billing-portal link
  • The invoice its validation report and a signed manifest as one ZIP
  • Diagnose and repair an invoice
  • Redeem a paid Invoice Fix Report for an API key
  • Generate compliant invoice XML
  • Liveness and build capabilities
  • Issue a free-tier API key
  • Replace the calling key with a new one
  • Read an invoice document into the JSON model
  • Check a Peppol recipient
  • How to invoice this buyer
  • Read a stored validation record
  • E-mail one validated invoice to one recipient
  • Current period usage for the calling key
  • Validate an invoice against EN 16931 business rules
  • Verify a VAT number with VIES
  • Engine and rule-set versions and what each release added
About · Contact · Privacy