Check whether a recipient is on the Peppol network
Look up a recipient in the Peppol SML/SMP before sending it a document.
reachable is true when the recipient's SMP publishes a PINT-AE invoice
endpoint, so documents sent to it are delivered over Peppol. When false, it
is not registered and cannot receive documents over Peppol. When error is
set, the lookup reached no verdict and reachable means unknown rather than
unregistered.
The lookup concerns the recipient; x-ae-taxpayer-id names the taxpayer
you act for and needs the invoices:read scope. Sandbox answers without
querying the Peppol network, as its send routes: reachable is true for a
test buyer on the network and for a Sandbox taxpayer, and false for any other
recipient. A test buyer with an unavailable lookup sets error.
Updated 8 days ago