Verify an EAN order

GET https://firmatal.dk/api/verify

The checkout fraud check. An EAN order is paid by invoice after the goods ship, so a buyer who types a real EAN with someone else's CVR, company name or a drop-shipping delivery address gets the goods while the invoice lands on a company that never ordered them. This endpoint checks everything the buyer typed against the company the EAN actually invoices to — Peppol first, the Danish NemHandel register as fallback.

curl 'https://firmatal.dk/api/verify?ean=5798009811578&country=dk
      &cvr=34170339
      &name=Fogito
      &address=Bredgade+12,+8000+Aarhus+C
      &delivery_address=Lagervej+3,+7100+Vejle' \
  -H 'Authorization: Bearer YOUR_TOKEN'

ean and country are required; cvr, name, address and delivery_address are optional — only what you provide is checked. The CVR compares digit-for-digit, names and addresses by similarity, and the delivery address against the registered address and every production unit, so shipping to the company's own warehouse still matches. The response carries per-claim results and one verdict:

Verdict Meaning
match Every provided claim belongs to the EAN's company.
review Something is off but not damning — a fuzzy name, an address we could not evaluate, a CVR typo on an otherwise-matching company. A human should look before shipping.
mismatch The claimed CVR belongs to a different company than the EAN invoices. The scam shape — hold the order.
not_found The EAN is registered in neither Peppol nor NemHandel.
unknown A register could not be reached. Nothing was verified either way — never treat this as a pass; hold and retry.