-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View VAT Return - PeriodKey format #49
Comments
Hi @boggey79 In terms of canned responses - you will need to use the "Submit VAT return for period" endpoint first. Cheers |
Excellent, thank you for the clarification. |
How to create period key, I means what parameters are used to create period key example |
The period key is not generated by you. |
As per documentation for Vat return submit process we should enter Period key as parameter for calling Vat Return submit api...... So my question is which value pass that filed or that parameter please guide |
Hi @pp07 I'm struggling to understand what the question is. You can then use one of the returned PeriodKeys from an open obligation to Submit your VAT Return. To view the return following a submission, you must use the same periodKey that was previously submitted. Cheers |
The VAT Obligations endpoint returns a period key (e.g.
#001
) for each corresponding VAT return.We then attempt to feed the period key into the View Vat Return endpoint as follows:
GET: /vat/{vrn}/returns/{periodKey}
If we feed in the example key (
#001
) and VRN we get the response:MATCHING_RESOURCE_NOT_FOUND
Removing the
#
prefix then returns:PERIOD_KEY_INVALID
We've attempted various permutations but to no avail. Please can someone advise on the correct form for this request and whether there's some specific values we need to be using to get a canned response back?
Thanks.
The text was updated successfully, but these errors were encountered: