Jump to content

Recommended Posts

Posted

Hello,

I am pretty new to the Sage developer community. I followed the steps here  for populating test data but when trying the  step 4 run ( for populating the opening balance) I get a 422 response:

 

[
{
"$severity": "error",
"$dataCode": "RecordInvalid",
"$message": "You cannot record entries on or after your Accounts Start Date of 01/01/2019.",
"$source": "base"
}
]
 
 

 

Posted

Hi Andreea,

Is the business you're using a UK business registered for Standard VAT?

There are a couple of PUT requests that need to be ran to ensure the financial year is set correctly before the import can begin. 

If you can confirm the above we'll investigate the data.

Thanks

Mark

Posted

Hi Andreea, 

It looks as if the dates on the opening_balance transactions are later than the Accounts Start Date hence the 422 response. 

The solution is to change the Accounting Dates in the UI or amend the initial PUT request in the collection to change the Accounts start date to 01/01/2022 and the year end date to 31/12/2023

Thanks

Mark

Screenshot 2023-12-06 at 15.15.33.png

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...