Automation

eMessaging automates document exchange through three mechanisms: job queues for scheduled processing, event-triggered actions for real-time responses, and document sending profiles for per-customer outbound control. Together, these enable fully hands-off document processing from receipt to posting and from posting to delivery.

Job queues

Three job queue entries handle the core automation.

Job QueuePurposeDescription
SendOutbound documentsPicks up posted sales invoices, credit memos, released purchase orders, and warehouse shipments marked for electronic delivery. Converts them to PEPPOL BIS 3.0 and sends them via CentaraIQ.
ReceiveInbound documentsPolls the CentaraIQ API for new incoming documents and downloads them to the Document Inbox
ProcessDocument processingTakes received documents and runs the processing pipeline: validation, vendor matching, Vendor Posting Setup application, PO matching, approval routing, and auto-posting

Configure job queues

  1. Search for Job Queue Entries in Business Central, or select Open Job Queue Entries from the Centara Setup page.
  2. Find the Centara job queue entries (prefixed with “Centara”).
  3. Configure the interval and start time for each.
FieldDescriptionRecommended
Earliest Start Date/TimeWhen the job first runsSet to your business start time
No. of Minutes between RunsHow often the job runs5-15 minutes
Maximum No. of AttemptsRetry count on failure3
StatusReady, On Hold, or ErrorReady
ScenarioSendReceiveProcess
High volume (100+ docs/day)Every 5 minEvery 5 minEvery 5 min
Standard volumeEvery 15 minEvery 15 minEvery 15 min
Low volumeEvery 30 minEvery 30 minEvery 30 min

Delegated admin note

In Business Central Online, job queues run under a delegated admin context. If you have partner-managed environments, ensure the delegated admin user has the necessary permissions to run eMessaging job queues. The user running the job queue needs the Centara Documents role assigned. See Roles & Permissions.

Event-triggered automation

Beyond scheduled job queues, eMessaging uses Business Central event subscribers to trigger actions in real time. These fire immediately when a specific action occurs — no waiting for the next job queue cycle.

Event triggerActionConfiguration
Sales Invoice postedQueue document for electronic deliveryEnable Auto-Send on Post in General Setup
Sales Credit Memo postedQueue document for electronic deliveryEnable Auto-Send on Post in General Setup
Purchase Order releasedQueue PO for electronic deliveryEnable Auto-Send PO on Release in General Setup
Warehouse Shipment postedGenerate and queue Despatch AdviceEnable Auto-Send Despatch on Ship in General Setup
Document attachment addedUpload attachment to CentaraIQ external storageAutomatic when Attachments module is active
Approval granted (final)Auto-post the purchase invoiceEnable Auto-Post on Approval in Approval Setup
New document receivedTrigger processing pipeline immediatelyEnable Auto-Process Incoming in General Setup

Event-triggered actions provide faster response times than job queues. For example, with event-triggered sending, a posted sales invoice is queued for delivery immediately upon posting, rather than waiting up to 15 minutes for the next Send job queue cycle.

Auto-approve rules

eMessaging can automatically approve incoming documents that meet specific criteria, bypassing the manual approval step entirely. This is useful for low-risk, high-volume documents like recurring subscriptions or pre-approved vendors.

Configure auto-approve rules

  1. Open Centara Setup and go to the Approvals section.
  2. Select Auto-Approve Rules.
Rule typeDescriptionExample
Vendor + Amount below thresholdAuto-approve invoices from specific vendors below a set amountVendor V10000, Amount < 1,000 EUR
Matched to PO within toleranceAuto-approve invoices that fully match a PO within configured tolerancesPO match + price tolerance < 2%
Recurring document patternAuto-approve documents that match a known recurring pattern (vendor, amount, frequency)Monthly subscription from SaaS vendor
Vendor categoryAuto-approve all invoices from vendors in a specific categoryUtility vendors, petty cash vendors

When an auto-approve rule matches, the document moves directly from processing to the Approved status (and optionally auto-posts if configured).

Document sending profiles

Document sending profiles control how outgoing documents are formatted and delivered per customer.

Set up a profile

  1. Search for Document Sending Profiles in Business Central.
  2. Select New or edit an existing profile.
  3. Set the Electronic Document field to the desired format (e.g., PEPPOL BIS 3.0).
  4. Configure additional options as needed.
FieldDescription
CodeProfile identifier
DescriptionProfile name
Electronic DocumentFormat for electronic delivery (PEPPOL BIS 3.0, EDIFACT, etc.)
Electronic Service EndpointOverride endpoint for this profile (optional)
Send PDF CopyAlso send a PDF copy via email
Email Address for PDFWhere to send the PDF copy

Assign to a customer

  1. Open the Customer Card.
  2. In the Document Sending Profile field, select the profile you created.
  3. All future documents for this customer will use that profile.

If no profile is set on the customer, eMessaging uses the default sending profile from General Setup.

Per-customer configuration

For customers with specific requirements, you can override defaults at the customer level:

Customer Card fieldDescription
Document Sending ProfileWhich delivery profile to use
PEPPOL IdentifierCustomer’s PEPPOL endpoint identifier (overrides VAT number)
PEPPOL SchemeScheme for the PEPPOL identifier
Electronic Document FormatOverride format for this specific customer

Manual send and receive

You can always send or receive documents manually:

  • Send: Open a posted sales invoice and select Send Electronic Document.
  • Receive: Open the Centara Document Inbox and select Receive Documents.
  • Process: Select a document in the inbox and select Process.

Manual actions work the same way as the job queue — they just run on demand instead of on a schedule.

Monitoring

In Business Central

  1. Search for Job Queue Entries in Business Central
  2. Review the Status column for each Centara entry
  3. If a job is in Error status, select it to view the error details in Job Queue Log Entries

Captain Central

For multi-environment monitoring, Captain Central provides a centralized dashboard to monitor job queues across all your Business Central environments. Instead of checking each environment individually, Captain Central gives you:

  • Real-time status of all Centara job queues across environments
  • Alerts when a job queue stops or enters error state
  • Historical job queue performance and processing times
  • One place to see all your environments at a glance

This is particularly useful for partners managing multiple customer environments or organizations with multiple BC companies.

Application Insights

eMessaging writes telemetry to Application Insights (if configured), providing detailed monitoring of document processing times, success rates, and error patterns.

For common job queue errors, see FAQ & Common Errors.