Why am I getting a Validation Exception for 'The account period has closed"
Sync Error: "Account Period Has Closed" When Syncing to QuickBooks Online
Summary
This article explains how to resolve the sync error related to closed accounting periods in QuickBooks Online when importing invoices from ServiceBox.
Issue
When syncing an invoice to QuickBooks Online, you may encounter this error:
"Error syncing invoice: Validation Exception was thrown: Details: The account period has closed and the account books cannot be updated through the QBO Services API. Please use the QBO website to make these changes."
This occurs when the invoice date is earlier than the closing date set in QuickBooks Online. That closing date is found in QBO under Settings → Advanced → Close the books.
When a closing date is enabled, QuickBooks Online blocks changes to transactions dated before that point, including imports from ServiceBox.
How to Fix It
You have three options to resolve the issue:
-
Turn off the 'Close the books' setting in QuickBooks Online.
This removes the restriction and allows the invoice to sync. -
Adjust the closing date in QuickBooks Online to an earlier date—before the invoice you are trying to import.
-
Manually enter the invoice in QuickBooks Online.
Then, in ServiceBox, go to QuickBooks Online → Settings → Invoices and update the "Invoices on or after" date to match the QBO closing date. This will prevent further sync attempts for older invoices.
Need Help?
Contact support by clicking the Help button in the bottom-right corner of your screen when logged in or email us at support@jobboxsoft.com.