This page documents the payload-based job creation endpoints and the required channelIdentifiers per task and add-on.
These endpoints allow clients to submit jobs by providing structured payload data and, depending on the workflow input source, an optional document file.
For the full request and response schema, see:
| Workflow input source | Endpoint | Behavior |
|---|---|---|
PAYLOAD_PDF | POST /jobs/payload-pdf | Creates the job and returns a pre-signed URL to upload the PDF file. |
PAYLOAD_WORD | POST /jobs/payload-word | Creates the job immediately using payload and template data. No file upload is required. |
Use POST /jobs/payload-pdf when the workflow input source is PAYLOAD_PDF.
The endpoint stores the payload and returns a fileUploadUrl.
Upload the PDF using HTTP PUT to the returned fileUploadUrl, with the raw PDF binary as the request body.
The job remains in AWAITING_FILE_UPLOAD for up to 2 hours. If no file is uploaded during that period, the job expires.
The filename must end with .pdf. Other extensions return 415 Unsupported Media Type.
Use POST /jobs/payload-word when the workflow input source is PAYLOAD_WORD.
The endpoint stores the payload and creates the job immediately. No file upload step is required.
The payload must include templateData, which is used to generate the final document.
The workflow must:
- exist;
- be enabled;
- be validated;
- be accessible for the caller’s departments;
- use the input source matching the endpoint.
| Workflow input source | Required endpoint |
|---|---|
PAYLOAD_PDF | POST /jobs/payload-pdf |
PAYLOAD_WORD | POST /jobs/payload-word |
For POST /jobs/payload-pdf, the filename must end with .pdf.
Other file extensions return:
415 Unsupported Media TypeIf the workflow contains a print task, either EASY_PRINT or EASY_PRINT_FR, payload workflows must provide structured address identifiers.
Unstructured address identifiers are not allowed for payload workflows.
The following identifier is not allowed for payload workflows:
| Identifier | Reason |
|---|---|
ADDRESS | Payload workflows require structured address identifiers instead. |
Missing required structured address identifiers returns:
400 Bad RequestFor structured address identifiers:
- empty structured address identifiers are ignored;
- structured fields have maximum length limits;
ADDRESS_COUNTRY_CODEis uppercased.ADDRESS_PO_BOXcannot be combined with street address fields.
The rules below apply to the payload.channelIdentifiers array.
When multiple identifiers are listed with AND, all listed identifiers are required.
When a group is described as “at least one of”, one valid option from the group is required.
Requires structured address identifiers.
See Structured address requirements.
Requires structured address identifiers.
See Structured address requirements.
Required identifier:
EMAIL_ADDRESS
Required identifier:
EMAIL_ADDRESS
Required identifiers:
EMAIL_ADDRESS
And at least one of:
COMPANY_IDENTIFICATION_NUMBERFIRST_NAME,LAST_NAME, andBIRTH_DATEFIRST_NAME,LAST_NAME,ADDRESS_POSTAL_CODE, andADDRESS_STREET_NUMBER
At least one of:
NATIONAL_REGISTER_NUMBERCOMPANY_IDENTIFICATION_NUMBERandEBOX_RECIPIENT_PARTITION
Required identifiers:
DOCCLE_TOKEN_SET_VALUE1DOCCLE_TOKEN_SET_VALUE2
Optional identifiers for payload workflows:
EMAIL_ADDRESSDOCCLE_RECEIVER_ID
PEPPOL is not supported for payload workflows.
Structured address requirements apply only to:
EASY_PRINTEASY_PRINT_FR
The following identifiers are always required:
| Identifier |
|---|
ADDRESS_POSTAL_CODE |
ADDRESS_CITY |
ADDRESS_COUNTRY_CODE |
At least one of the following identity options is required:
| Option | Required identifiers |
|---|---|
| Company | ADDRESS_COMPANY_NAME |
| Person | ADDRESS_FIRST_NAME AND ADDRESS_LAST_NAME |
Exactly one of the following location options is required:
| Option | Required identifiers |
|---|---|
| Street address | ADDRESS_STREET AND ADDRESS_STREET_NUMBER. ADDRESS_BOX can also be provided for this option. |
| PO box | ADDRESS_PO_BOX |
Do not combine ADDRESS_PO_BOX with ADDRESS_STREET, ADDRESS_STREET_NUMBER, or ADDRESS_BOX.
When hasPom is true, the following identifiers are required:
| Identifier |
|---|
INVOICE_AMOUNT |
INVOICE_DUE_DATE |
INVOICE_COMMUNICATION |
Notes:
INVOICE_DESCRIPTIONis optional for payload-based workflows.INVOICE_DESCRIPTIONis not validated as a required field.INVOICE_DUE_DATEis always required when payment collection is enabled.
When invoice tracking is enabled, the following identifiers are required:
| Identifier |
|---|
INVOICE_REFERENCE |
INVOICE_AMOUNT |
INVOICE_DUE_DATE |
INVOICE_COMMUNICATION |
All channelIdentifiers and extraInfoIdentifiers accept an optional mustBeEncrypted flag.
The system encrypts values when:
mustBeEncryptedis set totrue; or- the identifier kind is
NATIONAL_REGISTER_NUMBER.
NATIONAL_REGISTER_NUMBER is always encrypted, regardless of the value of mustBeEncrypted.
Encryption is only supported for the following channel identifier kinds:
ADDRESS,ADDRESS_FIRST_NAME,ADDRESS_LAST_NAME,ADDRESS_COMPANY_NAME,ADDRESS_STREET,ADDRESS_STREET_NUMBER,ADDRESS_BOX,ADDRESS_PO_BOX,ADDRESS_POSTAL_CODE,ADDRESS_CITY,ADDRESS_COUNTRY_CODEEMAIL_ADDRESSFIRST_NAME,LAST_NAME,BIRTH_DATECOMPANY_IDENTIFICATION_NUMBER,NATIONAL_REGISTER_NUMBER,EBOX_RECIPIENT_PARTITIONDOCCLE_TOKEN_SET_VALUE1,DOCCLE_TOKEN_SET_VALUE2,DOCCLE_RECEIVER_ID
Setting mustBeEncrypted to true on any other channel identifier kind returns:
400 Bad RequestextraInfoIdentifiers have no kind restriction; the mustBeEncrypted flag is always accepted.