The Cloud Events Document Exchange extension connects Business Central to electronic document exchange networks.
Send and receive invoices, orders, and other business documents via Advania, Unimaze, and InExchange using the
Cloud Events message-based API.
Getting Started
The extension requires Origo Cloud Events Core to be installed.
After installation, configure your provider credentials in the Cloud Events Setup page.
Open Cloud Events Setup from the search bar.
Enter your provider API credentials (API key, company ID, or OAuth settings).
Use the Cloud Events Queue API to submit document exchange requests.
Retrieve results from the Cloud Events Data API.
BIS 3.0 Reference Data
Built-in Peppol BIS 3.0 reference data is available without external credentials.
Use these message types to look up standard codes for electronic documents.
Message Type
Description
DocumentExchange.BIS30.CountryCodes
ISO country codes for Peppol documents
DocumentExchange.BIS30.Currencies
Currency codes
DocumentExchange.BIS30.DocumentTypeCodes
Document type identifiers (380=Invoice, 381=Credit Note, etc.)
DocumentExchange.BIS30.DocumentTypes
Document type descriptions
DocumentExchange.BIS30.ElectronicAddressSchemes
Electronic address scheme identifiers (EAS)
DocumentExchange.BIS30.InvoicedObjectIdentifiers
Invoiced object identifier scheme codes
DocumentExchange.BIS30.MimeCodes
MIME type codes for attachments
DocumentExchange.BIS30.ParticipantSchemes
Participant identifier schemes
DocumentExchange.BIS30.UnitCodes
Unit of measure codes (UN/ECE Rec 20)
DocumentExchange.BIS30.VatCodes
VAT category codes
Advania
Advania is Iceland's primary document exchange platform. The following message types are available
for receiving, sending, and managing electronic documents through Advania.
Receive Documents
Message Type
Description
DocumentExchange.Advania.GetUnread
Get list of unread documents
DocumentExchange.Advania.GetDocument
Get full document content by ID
DocumentExchange.Advania.GetDocumentInfo
Get document metadata
DocumentExchange.Advania.GetDocumentLines
Get document line items
DocumentExchange.Advania.GetAttachments
Get document attachments
DocumentExchange.Advania.GetDocumentHistory
Get document status history
Status Management
Message Type
Description
DocumentExchange.Advania.UpdateStatus
Update status of a document
DocumentExchange.Advania.StatusSync
Synchronize statuses for all tracked documents
DocumentExchange.Advania.GetStatuses
Get available status values
Send Documents
Message Type
Description
DocumentExchange.Advania.SubmitDocument
Submit a document for delivery
DocumentExchange.Advania.CreateInvoice
Create and send an invoice from BC data
Mailbox Queries
Message Type
Description
DocumentExchange.Advania.GetInbox
Get inbox document list
DocumentExchange.Advania.GetSent
Get sent document list
DocumentExchange.Advania.InboxSince
Get inbox documents since a date
Partner Lookup
Message Type
Description
DocumentExchange.Advania.GetTradingPartners
Get registered trading partners
DocumentExchange.Advania.GetAuthorizedPartners
Get partners authorized to send documents
Document Retrieval
Message Type
Description
DocumentExchange.Advania.LookupDocument
Look up a document by reference
DocumentExchange.Advania.GetDocumentPdf
Get document as PDF
DocumentExchange.Advania.GetPresentation
Get formatted document presentation
User and UI Access
Message Type
Description
DocumentExchange.Advania.GetUserAccess
Get user access information
DocumentExchange.Advania.GetWebUIUrl
Get URL for web interface
DocumentExchange.Advania.GetSessionUrl
Get authenticated session URL
Document Processing
Message Type
Description
DocumentExchange.Advania.ConvertXml
Convert XML between formats
DocumentExchange.Advania.CompressPdf
Compress a PDF document
DocumentExchange.Advania.OcrPdf
Run OCR on a PDF document
Additional Services
Message Type
Description
DocumentExchange.Advania.CheckUniversalService
Check universal service availability
DocumentExchange.Advania.GetDocumentSupport
Get supported document types for a partner
DocumentExchange.Advania.GetDocumentTypes
Get all available document types
DocumentExchange.Advania.GetDocumentLight
Get lightweight document summary
DocumentExchange.Advania.GetUnreadRemittance
Get unread remittance advices
Unimaze
Unimaze is a Nordic document exchange network supporting electronic invoicing across Scandinavia.
Receive Documents
Message Type
Description
DocumentExchange.Unimaze.GetUnread
Get unread documents
DocumentExchange.Unimaze.GetDocument
Get full document by ID
DocumentExchange.Unimaze.GetDocumentInfo
Get document metadata
DocumentExchange.Unimaze.GetDocumentHistory
Get document history
Status Management
Message Type
Description
DocumentExchange.Unimaze.UpdateStatus
Update document status
DocumentExchange.Unimaze.StatusSync
Synchronize document statuses
Send Documents
Message Type
Description
DocumentExchange.Unimaze.CreateInvoice
Create and send an invoice
DocumentExchange.Unimaze.SubmitTransaction
Submit a transaction
DocumentExchange.Unimaze.SubmitXml
Submit raw XML document
Queries
Message Type
Description
DocumentExchange.Unimaze.GetInbox
Get inbox contents
DocumentExchange.Unimaze.LookupDocument
Look up document by reference
DocumentExchange.Unimaze.GetPresentation
Get document presentation
DocumentExchange.Unimaze.GetPartyInfo
Get party/partner information
Operations
Message Type
Description
DocumentExchange.Unimaze.AddAttachment
Add attachment to a document
DocumentExchange.Unimaze.GetValidations
Get validation results
DocumentExchange.Unimaze.RetryMessage
Retry a failed message
Workflow
Message Type
Description
DocumentExchange.Unimaze.RegisterPayment
Register payment for a document
DocumentExchange.Unimaze.RegisterRejection
Register document rejection
DocumentExchange.Unimaze.GetPendingActions
Get actions pending user decision
Additional
Message Type
Description
DocumentExchange.Unimaze.CreateGenericMessage
Create a generic message
DocumentExchange.Unimaze.GetDocumentOriginal
Get original document file
DocumentExchange.Unimaze.GetDocumentTransformed
Get transformed document
DocumentExchange.Unimaze.GetDocumentSupport
Get supported document types
InExchange
InExchange is a Swedish electronic invoicing network used across the Nordics.
Receive Documents
Message Type
Description
DocumentExchange.InExchange.GetIncoming
Get incoming documents
DocumentExchange.InExchange.GetDocument
Get full document by ID
DocumentExchange.InExchange.GetDocumentInfo
Get document metadata
Status and Send
Message Type
Description
DocumentExchange.InExchange.MarkHandled
Mark document as handled
DocumentExchange.InExchange.SendDocument
Send a document
DocumentExchange.InExchange.GetOutboundStatus
Track outbound document status
Partner Discovery
Message Type
Description
DocumentExchange.InExchange.BuyerLookup
Look up a buyer in the network
DocumentExchange.InExchange.SellerLookup
Look up a seller in the network
UBL Rendering
Generate standards-compliant UBL 2.1 XML documents directly from Business Central data.
No external credentials are required.
Message Type
Description
DocumentExchange.UBL.RenderBilling
Render invoice or credit note as UBL XML
DocumentExchange.UBL.RenderOrder
Render order as UBL XML
DocumentExchange.UBL.RenderDespatchAdvice
Render despatch advice as UBL XML
DocumentExchange.UBL.RenderStatement
Render statement as UBL XML
Help
Message Type
Description
Help.DocumentExchange.Get
Get help documentation for document exchange message types
Error Handling
When a provider operation fails (authentication error, network issue, invalid request),
the response contains a structured JSON error object with:
error — error code or type
message — human-readable description
provider — which provider returned the error
callStack — AL call stack (when available)
Check the Cloud Event Message status field for task completion state.