List a taxpayer in the Peppol Directory

post
https://api.wafeq.com/ae/v1/taxpayers/directory

Ask the Peppol Directory to list the taxpayer in x-ae-taxpayer-id again after a
removal, or to update its listing after a Business Card change. The Peppol Directory is
a public search index that lets other businesses find the taxpayer on Peppol. Wafeq
already lists every taxpayer when it finishes onboarding.

Set the card first with PUT /taxpayers/business-card: the Directory reads it from
Wafeq when it indexes the taxpayer. Needs the invoices:write scope. Returns 502 if
the Directory refuses the request.

Headers
string | null
stringrequired

Taxpayer ID (txpay_…) that granted your organization access. Required with an organization API key; optional with a taxpayer access token, which already names its taxpayer. Use the taxpayer ID, not its TIN.

string | null

Grant ID (tgr_…) to act through, with an organization API key. The request then has exactly that grant's scopes and fails once the grant is revoked. Without it, the key acts through all of the organization's active grants on the taxpayer.

Response