The Peppol Directory writes a participant identifier with a prefix:
iso6523-actorid-upis::0208:0685660237. Copying it from there into a getpeppr
lookup used to fail with "not in a recognised format", and the message did not
say what to write instead. That is fixed on every lookup surface.
Lookups accept the prefixed form
These now remove the iso6523-actorid-upis:: prefix, in any case, and look up
0208:0685660237:
GET /v1/peppol-lookupand the one-segment form ofGET /v1/directory(/v1/directory/iso6523-actorid-upis::0208:0685660237) on the API;- the
lookup_participanttool of the MCP server; peppol.directory.lookup()in@getpeppr/sdk6.8.0;getpeppr lookupin@getpeppr/cli0.17.0.
scheme:id works as before, with a numeric scheme (0208:0685660237) or a
symbolic one (GB:VAT:123456789).
Refusals say what to write
When a lookup identifier is still not readable, the lookup.identifier_invalid
message now reads: "The Peppol identifier is not in a recognised format. Write
it as scheme:identifier, e.g. 0208:0685660237 or GB:VAT:123456789." The code
and the status do not change.
An invoice still takes scheme:id only
An invoice's peppolId keeps taking scheme:id only. What changes is that
the prefixed form is now refused with the value to write:
the SDK, the CLI's
validateand the MCPvalidate_invoicetool, onto.peppolIdandpayeeParty.peppolId:Invalid Peppol ID format: "iso6523-actorid-upis::9925:BE0314595348". Remove the "iso6523-actorid-upis::" prefix and write "9925:BE0314595348".POST /v1/invoices, onto.peppolId:422 invoices.recipient_peppol_id_required, before anything is sent. Until now this request passed our check and was handed to the network provider under the schemeiso6523-actorid-upis, which is not a Peppol participant scheme. No production submission had ever carried that form.
The SDK also exports stripPeppolParticipantPrefix(),
hasPeppolParticipantPrefix(), prefixedPeppolIdReplacement() and
PEPPOL_PARTICIPANT_ID_PREFIX, for code that reads identifiers copied from the
directory.