Send Document v3.1
This API is used to send a document to an enabled company, user or group. The sent document will be visible in the sender’s outbox and the receiver’s inbox when the API execution is complete. If the receiver is outside the platform alternative delivery channels will be used. The request and response format for the “SendDocument” API are given below:
The type of the document is specified by the TemplateId. The sender is indicated with Via.
Fieldname | Description |
SOAPAction | Mandatory http://api.everbinding.nl/v3_1/SendDocument |
Request fields
Fieldname | Description |
Via | Mandatory ReferenceId of the sender of the document. This must be a verified id. Preferred id is the EConnectPartyId. |
To | Mandatory ReferenceId of the receiver of the document. |
ReferenceId | Mandatory One of the Ids available for identifying a party. This can be an EConnectPartyId or a ID that is registered in external registries like NL:KVK:nnnnnnnn or NL:VAT:NLnnnnnnnBnn etc. |
EmailAddress | Optional Address to be used as fallback when the recipient is not found in the network. If no e-mail address is provided and the receiver is not reachable in the network then this function will respond with error ERRSND4000001. |
Subject* | Mandatory Name used for the document within eConnect. |
Payload | Mandatory XML document without the XML prolog. |
TemplateId | Mandatory TemplateId is the id that indicates the type of document. |
*Subject will be overwritten by our platform to {template} {invoiceid}.
Example request
Response fields
Fieldname | Description |
ExternalId | ExternalId identifies the document has been send. The ExternalId can be used as prove that the document is send. Without a ExternalId a document can be considered as not send. |
Response 200
Example errors
Error code | Error text |
ERRGRP3000006 | You do not have permission to send document via the specified group. The specified group is the company-ID used with Via |
ERRXSL4000001 | There was an error in validating the payload with XSL. The errors coming from the XSLT are returned via faultstring Example: [BII2-T10-R003]-An invoice MUST have an invoice identifier |
ERRSND8000002 | Document verzenden mislukt |
ERRSND8000001 | Processing of send document from collabrr to oxalis failed |
ERRSND2000001 | Invoices may not be able to send, without a business context(sendvia) |
ERRSND4000001 | Recipient EmailId should not be empty while staging the document |
ERRSND4000002 | The email address specified is invalid. |
ERRGRP4000001 | The specified group does not exist. |
ERRCON5000018 | Formaat van Recipient waarde is niet juist of wordt niet herkend. Document niet verstuurd. |