edoc invoice Administration Guide
v26.11.6 v26.10.7 v26.9.8 German English
Auto Light Dark
Auto Light Dark
v26.11.6 v26.10.7 v26.9.8 German English

Create a mandatory field check for individual workflow steps

You can implement a check of the mandatory fields for each workflow step (Verify, Approve, Complete workflow) for an invoice without order reference or an invoice with order reference. For each workflow step, you can specify whether a check should take place for individual actions. If you have activated a mandatory field check, a workflow step can only be completed if the criteria for the mandatory field check have been met.

You can define a mandatory field check for a company under Settings > Capture form > Mandatory field check under various aspects.

  • Logic & Workflow: In this section, you can define automatic logical checks, e.g. whether there are discrepancies in gross amounts or whether a date in the future has been specified. The option affects general invoice data in the capture form.

  • Header data: In this section, you can define special checks for header fields of the invoice, which your users will find in the Invoice section of the capture form.

  • Line item data: In this section, you can define special checks for the line item data that your users can find in the Line item data section of the capture form.

  • Individual mandatory field checks: In this section, you can define specific checks to be performed using an external validation function, such as edoc automate.

Things to know

If you have activated the Complete workflow without data transfer feature, and users complete the workflow without data transfer, no mandatory field check is performed.

Clarify in advance with the parties involved which mandatory field checks (default or individual) are to be used for an invoice.

Here's how

  1. Under Control, specify the invoice category for which you want to set up the mandatory field check: Invoice without order reference or Invoice for goods.

  2. Activate the checks in the Logic & Workflow, Header data and Line item data sections by clicking on the field in the corresponding workflow step. A tick indicates that the check has been activated.

  3. Click on Save in the ribbon.

Set up individual checks for mandatory fields

In addition to the default mandatory field checks, you can set up individual mandatory field checks for invoices without purchase order reference or invoices with purchase order reference (invoices for goods).

An individual mandatory field check transfers the invoice data to an external system, such as an app in edoc automate. The external system validates the invoice according to your rules.

For each check, you specify in which workflow steps (Verify, Approve, Complete workflow) the check is performed. A workflow step can only be completed if all mapped individual mandatory field checks were successful.

Requirements for setting up the individual checks

  • You must have set up a REST connection to the external app under Data > Connections.

  • You can set up the REST connection for a single company only, or make it visible to all companies so that all companies can use the REST connection to the external app.

  • The external app provides an endpoint for the test. It returns either true (pass) or false (fail) as the result.

Clarify in advance with the parties involved which specific mandatory field checks should be used for an invoice and which endpoint in the external system performs the respective check.

Here's how

  1. Under Control, specify the invoice category for which you want to set up the individual mandatory field check: Invoice without order reference or Invoice with order reference.

  2. In the Individual mandatory field checks section, click on Add check. A new row will be created in the table.

  3. In the Name column, enter a descriptive name for the check. The name must be unique within each invoice category. Your users will see the name in notifications and in the Complete workflow dialog.

  4. Activate the workflow steps in which the check should be performed by clicking the field in the Verify, Approve, or Complete workflow column. A checkmark indicates that the check has been activated for that workflow step. At least one workflow step must be activated.

  5. In the Connection column, select the REST connection to the external app.

  6. In the Endpoint column, enter the path of the check. The endpoint is appended to the connection's URL.

  7. In the Timeout (seconds) column, specify how long edoc invoice should wait for a response from the external app. You can set a timeout ranging from 1 second to 30 seconds. The default value is 10 seconds.

  8. Click on Save in the ribbon.


See also

Last updated: