An array of document types to discover. The default is '["invoice", "creditnote"]'. This is ignored when only checking existence.
networkstring
The network to check. Currently only 'peppol' is supported.
metaSchemestring
The meta scheme of the identifier. For Peppol this is always 'iso6523-actorid-upis'.
schemestring required
The scheme of the identifier. See <<_receiver_identifiers_list>> for a list.
identifierstring required
The actual identifier.
Response
Success
code'OK' | 'NOK'
The response code.
emailboolean
DEPRECATED. Whether or not an 'OK' response means the document will be sent via Peppol, but delivered by email. This happens in the Belgian Hermes system where all identifiers have been registered, but if the receiver hasn't registered with a service provider, the Hermes system will send a PDF created from the electronic invoice and email that. The electronic document will itself not be emailed. Also see https://einvoice.belgium.be/en/article/send-structured-invoices-all-your-customers-hermes[Hermes^].