Everything you need to know about using the M-Pesa Processor
This guide will walk you through the process of importing M-Pesa statement files (Header and Lines) into D365 Finance and Operations using Data Management.
Navigate to: Workspaces > Data Management
Bank statement headerBank statement lines⚠️ Important: Always import Header BEFORE Lines!
Review entities and click Import
Check Cash and bank management > Bank statements
Match and post bank reconciliation
The opening balance is the account balance at the start of the statement period. This should match the closing balance from your previous statement. If this is your first statement, enter the initial account balance.
The closing balance is automatically extracted from your M-Pesa statement file. Look for a row labeled "Closing Balance" in your Excel file.
Common reasons for import failures:
Each time you process a statement, it generates a unique Statement ID based on the timestamp. However, you should avoid uploading duplicate statements to D365 to prevent reconciliation issues.
Go to Cash and bank management > Bank accounts and create:
Solution: Create the MPESA bank account in D365 F&O before importing statements.
Solution: This statement has already been imported. Check the History page.
Solution: Verify that:
If you encounter issues not covered in this FAQ: