Note: The conditions are the same for both workflows and automations.
The search field in the condition box allows you to search for keywords or criteria to trigger an automatic action.
The conditions can be set up in 3 ways:
-
AND: All conditions must be met on the invoice.
Example: Net amount (line) greater than 30,000 AND VAT code set.
Here, the net amount must be greater than 30,000 and the VAT code must be set on at least 1 of the lines.
-
OR: At least one of the conditions must be met on the invoice.
Example: Net amount (line) greater than 30,000 OR VAT code set.
Here, either the net line amount must be greater than 30,000 or the VAT code must be set on at least 1 of the lines.
-
AND (Match all lines): All conditions must be met on the invoice on all lines.
Example: Net amount (line) greater than 30,000 AND VAT code set.
Here, the net amount must be greater than 30,000 and the VAT code must be set on all lines.
See Also: Use of RegEx in the Rydoo AP Automation Rule Engine
Conditions
Below is an overview of the available search fields for the automation engine in Rydoo AP.
Workflows - Triggers based on workflows
|
Criteria in Automation Engine (Status in workflow) |
Meaning | |
| All workflows approved | Trigger when all workflows are approved for an invoice | |
| One or more workflows rejected | Trigger if one or more workflows are rejected | |
| No workflow | Trigger when an invoice has no workflow | |
| Workflow Group Waiting | Trigger when a Workflow Group has the status Waiting | |
| Workflow Group Active | Trigger when a Workflow Group has the status Active | |
| Workflow Group Approved | Trigger when a Workflow Group has the status Approved | |
| Workflow Group Cancelled | Trigger when a Workflow Group has the status Cancelled | |
| Workflow Group Rejected | Trigger when a Workflow Group has the status Rejected | |
| Workflow Waiting | Trigger when a Workflow has the status Waiting | |
| Workflow Active | Trigger when a Workflow has the status Active | |
| Workflow Approved | Trigger when a Workflow has the status Approved | |
| Workflow Cancelled | Trigger when a Workflow has the status Cancelled | |
| Workflow Rejected | Trigger when a Workflow has the status Rejected | |
| Invoice has a workflow with automatic approval |
Date and Time
- Today's date and time
- Current time
Invoice Header
|
Criteria in Automation Engine (Invoice Status) |
Field in EHF / Meaning | |
| 1 | Invoice is duplicate | Trigger if Rydoo AP has found an invoice with the same invoice number from the same supplier |
| 2 | Supplier is approved | Trigger if Rydoo AP has found the supplier on the invoice |
| 3 | Supplier organization number | Trigger if the org.no in Rydoo AP/ERP matches the EHF field <cac:AccountingSupplierParty> ->cbc:EndpointID or cac:PartyLegalEntity->cbc:CompanyID |
| 4 | Supplier org.number from invoice | Trigger if the org.no in Rydoo AP/ERP matches the EHF field <cac:AccountingSupplierParty> ->cbc:EndpointID or cac:PartyLegalEntity->cbc:CompanyID |
| 5 | Auto-posting | Trigger if the invoice is auto-posted |
| 6 | Auto-approved | Trigger if the workflow is auto-approved |
| 7 | Stopped at validation error status | Trigger if the invoice gets the status Validation Error and another rule uses the action "Stop at Validation Error". Use this criterion to create a rule that triggers when another rule has been created with the criterion "Validation Error". |
| 8 | Stopped at credit note processing status | Trigger if the invoice gets the status Credit Note Processing and another rule uses the action "Stop at Credit Note Processing". Use this criterion to create a rule that triggers when another rule has been created with the criterion "Credit Note Processing". |
| 9 | Stopped at pre-control status | Trigger if the invoice gets the status Pre-control and another rule uses the action "Pre-control". Use this criterion to create a rule that triggers when another rule has been created with the criterion "Pre-control". |
| 10 | Stopped at project status | Trigger if the invoice gets the status Project and another rule uses the action "Project". Use this criterion to create a rule that triggers when another rule has been created with the criterion "Project". |
| 11 | Marked for re-invoicing | Trigger if the invoice is marked for re-invoicing (Equal/Not equal) |
| 12 | Invoice changed by approver | Trigger if the invoice is changed by a user in the approval workflow |
| 13 | Requires self-validation | |
| 14 | Buyer's reference | cbc:BuyerReference |
| 15 | Order reference | cac:OrderReference |
| 16 | Total amount | cac:LegalMonetaryTotal -> cbc:PayableAmount |
| 17 | Net amount | cac:TaxTotal->cbc:TaxableAmount |
| 18 | VAT amount | cac:TaxTotal->cbc:TaxAmount |
| 19 | Reporting amount | Trigger if the amount extracted by Rydoo AP matches the defined value |
| 20 | Invoice status | Trigger based on the selected invoice status |
| 21 | Line text (header level) | |
| 22 | Kid number | Trigger based on a defined KID number |
| 23 | Header note (EHF Note from invoice header) | cbc:Note |
| 24 | Invoice date | cbc:IssueDate |
| 25 | Due date | cbc:DueDate |
| 26 | Document type | Invoice / Purchase Invoice / Manual entry / Reminder / Debt Collection / NotInvoice |
| 27 | Invoice source | PDF / EHF / Paper / Email / API / EDI |
| 28 | Invoice type | Trigger based on whether it is a credit note or invoice |
| 29 | Receiving channel | Upload / email / ehfGateway / ehfApi |
| 30 | Currency | cbc:DocumentCurrencyCode - Trigger based on the selected currency code |
| 31 | Buyer | Trigger if the selected user exists in cbc:BuyerReference |
| 32 | Invoice created by | Trigger if the invoice is uploaded by a given user |
| 33 | Invoice flag | Trigger based on the invoice flag |
Invoice Line References
| Criteria in Automation Engine | Field in EHF / Meaning | |
| 1 | EHF Accounting Cost | cac:InvoiceLine -> cbc:AccountingCost |
Invoice Lines
| Criteria in Automation Engine | Field in EHF / Meaning |
| Has accrual (line) | The condition checks if a date is found in the Description field |
| Net amount (line) | cac:InvoiceLine / cbc:LineExtensionAmount |
| VAT amount (line) | Calculated from the net amount and VAT % |
| VAT % (line) | cac:InvoiceLine / cac:Item / cac:ClassifiedTaxCategory / cbc:Percent |
| Total amount (line) | Calculated: Net amount + VAT amount |
| Description (line) | cac:InvoiceLine / cac:Item / cbc:Name |
| Detailed description (line) | cac:InvoiceLine / cac:Item / cbc:Description |
| Note (line) | cac:InvoiceLine / cbc:Note |
| Item number (line) |
The first found in this sequence is used. 2. cac:SellersItemIdentification / cbc:ID 3. cac:StandardItemIdentification / cbc:ID |
| Invoice text (line) | Free-text field on the invoice line in Rydoo AP. |
Invoice References
| Criteria in Automation Engine | Field in EHF / Meaning | |
| 1 | InternalDocTypeCode | |
| 2 | Meter point ID | cac:Delivery -> cac:DeliveryLocation -> cbc:ID |
| 3 | Oslo Tax Collector - AccountingCode | Only available for selected customers |
Purchase Order
| Criteria in Automation Engine | Field in EHF / Meaning | |
| 1 | Purchase order matches 100% | Trigger if the purchase order matches 100% |
| 2 | Initial processing is finished | |
| 3 | Purchase order line has "Service Item" dimension | |
| 4 | Invoice line has negative net amount | Trigger if the invoice line has a negative amount |
| 5 | Category line exists | Trigger if at least one category line is present on the invoice |
| 6 | Category line amount | Trigger if the accumulated total amount of category lines on the invoice is equal to or greater than a configured threshold |
Clients
- Sub-unit for client
Clients and Settings
| Criteria in Automation Engine | Field in EHF / Meaning | |
| Status for missing purchaser is activated | ||
| PO - Automatic approval upon receipt if fully matched | ||
| PO - Auto-post when approved | ||
| Workflow type | ||
| Contract type |
Accounting - Dimension
Dynamic list of dimensions in use. If the dimension is applied, the related rule will trigger.
Accounting - Interim
Accounting - Category
Accounting - Account
-
Filter expressions/intervals are defined in Rydoo AP as follows:
AAA:BBB,CCC:DDD - An interval is indicated by a colon between the numbers:
6300:6399.
Here, the automation will react to all values from 6300 to 6399 - Multiple values are separated by commas:
6300,6320,6350,6399 - It is also possible to combine intervals with individual codes like this:
6319,6320,6350:6399. Here, the automation will react to codes 6319 and 6320 and to all values in the interval 6350 to 6399.
| Criteria in Automation Engine | Field in EHF / Meaning | |
| Supplier parameter | Trigger for the selected supplier | |
| Supplier parameter Expression | Trigger for suppliers in the interval | |
| Account parameter | Trigger for the selected account | |
| Account parameter Expression | Trigger for accounts in the interval |
| Department | Trigger for the selected department (filter expression) | |
| Purchase order type | Trigger if the PO matches the criteria | |
| Invoicing channel | Trigger based on the invoicing channel | |
| Accounting rule | Trigger based on the accounting rule |
Comments
0 comments
Please sign in to leave a comment.