Post Date Error

When running

we received an error that our post date wasn't in a vaild fiscal period. We can manually create a batch with that date, and other batches were written with the API, but it isn't allowing us to use the last day of the fiscal period.

Response: {"Error":"Failed to save batch","Details":["Post date must be in a valid fiscal period."],"ErrorPath":null}

Request: {"description":"PO: GEI16798 - AEPINDIA","batch_status":"Open","create_interfund_sets":false,"create_bank_account_adjustments":true,"journal_entries":[{"type_code":"Debit","account_number":"0101-523350087600-KOK","post_date":"2022-04-30T00:00:00-04:00","encumbrance":"Regular","reverse_date":null,"journal":"Journal Entry","reference":"PO: GEI16798 - AEPINDIA","amount":114.27,"notes":null,"distributions":[{"ui_project_id":"P9999","account_class":"Unrestricted Net Assets","transaction_code_values":[{"name":"Grants","value":"000 - N/A","id":"0"}],"amount":114.27,"percent":100.0}]},{"type_code":"Credit","account_number":"0101-210000000059-KOK","post_date":"2022-04-30T00:00:00-04:00","encumbrance":"Regular","reverse_date":null,"journal":"Journal Entry","reference":"PO: GEI16798 - AEPINDIA","amount":114.27,"notes":null,"distributions":[{"ui_project_id":"P9999","account_class":"Unrestricted Net Assets","transaction_code_values":[{"name":"Grants","value":"000 - N/A","id":"0"}],"amount":114.27,"percent":100.0}]}]}

Comments

Categories