Connect PEX and OneDrive
To connect your PEX and OneDrive from the PEX Marketplace follow these steps:


Configure settings
- Purchase Receipts. Select “Approved” or “All” transactions (“Approved” is recommended).
- Start Date. This is the date to start syncing from. Used by manual sync only. It cannot be more than 1 year in the past. Leave empty to default to the first day of the prior month.
- End Date. This is the final date of sync. Used by manual sync only. Leave empty to default to today.
- Drive. The OneDrive drive to sync receipts to. The list shows the drives available to the signed-in Microsoft account; most accounts have only one. Leave empty to use your default drive.
- Path Template. Customize how you would like your receipts to be displayed within your OneDrive folder. Click the arrow on the right side to select one of the different file options.
- Automatic Sync. Enable this to sync receipts on a schedule (every 6 hours). Automatic sync does not use the Start Date and End Date fields.


Sync
Manual sync (Sync Receipts button) uses the Start Date and End Date you enter. If Start Date is empty, it defaults to the first day of the prior month. If End Date is empty, it defaults to today. The Start Date cannot be more than 1 year in the past, so a manual sync can never include transactions older than 1 year. Automatic sync does not use the Start Date and End Date fields. Every run looks only at transactions dated from the first day of the month before last up to the moment of the sync (for example, a run on September 21, 2026 covers July 1, 2026 to September 21, 2026). Transactions are selected by their transaction date, not by the date they were approved or the date the receipt was attached. A receipt attached to a transaction older than this window will not be picked up by automatic sync. Run a manual sync with a Start Date covering that transaction instead.Frequently asked questions
What happens/shows up if all of your Approved Transactions are synced over but you're missing a transaction that turns out to be unapproved?
What happens/shows up if all of your Approved Transactions are synced over but you're missing a transaction that turns out to be unapproved?

How often does it sync if you don't enable the auto sync?
How often does it sync if you don't enable the auto sync?

How often does automatic sync run, and which transactions does it include?
How often does automatic sync run, and which transactions does it include?
A receipt was attached (or the transaction was approved) recently, but it didn't sync. Why?
A receipt was attached (or the transaction was approved) recently, but it didn't sync. Why?
What do the permissions mean when connecting to OneDrive?
What do the permissions mean when connecting to OneDrive?
openid- The app receives a unique identifier for the user.profile- Allows the app to see your users’ basic info (name, picture, user name).email- Allows the app to see your users’ primary email address.
offline_access- Allows the app to store and refresh its tokens used for API access.
User.Read- Allows users to sign-in to the app, and allows the app to read the profile of signed-in users. It also allows the app to read basic company information of signed-in users.Files.ReadWrite.AppFolder- Allows the app to read, create, update, and delete files in the application’s folder. The user’s other files and folders are never accessed by the application.
What does each status mean in the top right bar on the Manage page?
What does each status mean in the top right bar on the Manage page?
- Idle - PEX is not actively syncing to OneDrive (ad hoc syncs only)
- Pending - PEX is waiting for a queued sync (manual or automatic) to start syncing to OneDrive
- Syncing - PEX is currently syncing receipts to OneDrive
Are there any limitations for the start date?
Are there any limitations for the start date?
Does the sync date range have any limitations?
Does the sync date range have any limitations?
Where does the Path Template come from?
Where does the Path Template come from?
How do I re-download receipts?
How do I re-download receipts?
