The Afterpay – Microsoft Dynamics 365 Business Central quickstart integration template (NA | EU) lets you integrate your Afterpay payments with Microsoft Dynamics 365 Business Central for integrated data. The integration template comprises a set of pre-built integration flows. These flows help you integrate between Afterpay payments and Microsoft Dynamics 365 Business Central cash receipt journals.
Supported integration flows
The Celigo quickstart bundle contains workflows you can easily configure and deploy without coding or IT support. The following built-in flows sync from the specified source data to the corresponding destination.
Afterpay to Microsoft Dynamics 365 Business Central
Flow: Afterpay payments to Microsoft Dynamics 365 Business Central Cash Receipt Journals.
Gather your credentials
Before you begin
Keep your Afterpay and Microsoft Dynamics 365 Business Central account credentials ready:
-
Afterpay – verify APIs and Authorization
- Before you set up an Afterpay connection below, ensure that you have the API and authentication details for your Afterpay app.
- Refer to the Afterpay help documentation to learn more about APIs and Authorization.
-
Microsoft Dynamics 365 Business Central – verify APIs and Authorization
- Before you set up a Microsoft Dynamics 365 Business Central connection below, ensure that you have the API and authentication details for your Microsoft Dynamics 365 Business Central app.
- Refer to the Microsoft Dynamics 365 Business Central help documentation to learn more about APIs and Authorization.
Install the Afterpay – Microsoft Dynamics 365 Business Central template
- From the integrator.io Microsoft Dynamics 365 Business Central Marketplace options, select the Afterpay template and click Install.
- Review the template’s contents and ReadMe and click Install now to begin.
- Install the template.
Configure the Afterpay – Microsoft Dynamics 365 Business Central flows
Additional record mapping is required to integrate the template’s exports and imports with your Afterpay and Microsoft Dynamics 365 Business Central apps.
Note that all of your flows are disabled when first installed. After configuring the flows, you may enable them in your Flows dashboard or in Flow Builder with the Off/On toggle button. Then run or schedule each flow.
Afterpay payments to Microsoft Dynamics 365 Business Central Cash Receipt Journals
This integration flow syncs Afterpay payments as Microsoft Dynamics 365 Business Central Cash Receipt Journal Lines.
- This flow uses a script that pulls the integration settings into the data to be used as mappings. It also reformats the total payment amount by adding the tax, payment amounts, and shipping costs. Finally, it reformats the date to be used in Microsoft Dynamics 365 Business Central.
- If your payments have more associated fees or costs, add them to the totalAmount field in the preSavePage script.
Additional resources:
- List Payments | Afterpay Online Developer
- API Environments | Afterpay Online Developer
- Create journalLines - Business Central | Microsoft Learn
- Microsoft Dynamics 365 Business Central documentation
- Afterpay API documentation
Before you begin
- Retrieve the companyId, journalId, accountId, accountType, and accountNumber from Microsoft Dynamics 365 Business Central and store them in the integration settings.
- Navigate to your company, journal, or account in Microsoft Dynamics 365 Business Central.
- Click the “?” on the top of the page and click Help and Support on the right-hand side of the page.
- Click Inspect pages and data.
- Find the internal ID, labeled id or guid, on the right-hand side of the page.
Import Microsoft Dynamics 365 Business Central cash receipt journal lines
Destination record | Source record |
id | $.companyId |
journalId | $.journalId |
accountType | $.accountType |
accountId | $.accountId |
accountNumber | $.accountNumber |
postingDate | $.shortDate |
externalDocumentNumber | $.id |
amount | $.totalAmount |
Comments
Please sign in to leave a comment.