In this article
Product Information
- Introduction
-
Bank reconciliation agents
- Reporting
- Governance
- FAQ
Release Notes
- 10.0.47.20260806
- Installation process
Automatically stage pending customer remittance advice emails from Outlook into Microsoft Dynamics 365 (Finance & Operations). For each qualifying email, extract the structured payment data, wrap it in the DXC Dynamics envelope, and drop the record into the SharePoint intake folder that Dynamics monitors. Each email is processed independently.
Whenever I get an email about Customer remittance or Payment advice from the following emails:
Find every pending remittance advice email in the Inbox. A genuine advice names a customer/payer, states a payment total, and lists one or more invoices. Process each matching email independently through the steps below.
Pull the fields below into the record. Skip any field you can’t find — never invent
values. Normalise dates to ISO (YYYY-MM-DD); keep amounts numeric.
{
"header": {
"email_message_id": "",
"received_at": "",
"sender_email": "",
"payer_name": "",
"payer_abn": "",
"payment_reference": "",
"payment_date": "",
"payment_amount": 0,
"payment_method": "",
"status": "Pending",
"extraction_confidence": "",
"requires_review": true
},
"lines": [
{
"line_number": 0,
"invoice_number": "",
"invoice_date": "",
"gross_amount": 0,
"discount_amount": 0,
"net_amount": 0,
"erp_invoice_id": 0,
"match_status": "Matched"
}
]
}
status = "Pending", requires_review = true, match_status = "Matched".extraction_confidence (High / Medium / Low) based on how cleanly the source parsed.net_amount values must equal the header
payment_amount. If they don’t reconcile, flag for review rather than forcing a match.Place the Step 2 JSON in as an escaped string inside Message:
{
"dataAreaId": "<User entered dataAreaId>",
"DXCAgentId": "DXCAgentForPendingRemittanceCreation",
"MessageId": "<email message ID, max 60 chars>",
"MessageStatus": 1,
"Message": "<the Step 2 JSON as an escaped string>"
}
Do not rename or alter JSON keys. Only update values.
dataAreaId = "<User entered dataAreaId>", DXCAgentId =
"DXCAgentForPendingRemittanceCreation", MessageStatus = 1.@
(e.g. DS1PR01MB88936767AF3AE8FC2846D6DC81F72). It is stable, unique, and keeps
reprocessing idempotent.Save the completed envelope to workspace output as <MessageId>.json — one unique
file per email.
Workspace output can’t be written straight into the SharePoint intake folder, so:
Move the processed email to the Pending remittances folder in Outlook.
Report back per email:
MessageId.