You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must read the information below before you submit a bug report.
The MTD API team cannot help if your bug report is about:
Fraud Prevention Headers
Issues relating to OAuth2
Subscribing or registering to use the API Platform, MTD enrolment, de-enrolment, registration for VAT, Beta services, etc.
Issues integrating with the API Platform (e.g. setting up an application/access)
Code examples in a given programming language
Business-related questions or processes pre MTD
Scheduled maintenance windows and days
Onboarding (e.g. registering, obtaining keys)
Performance metrics
For any of the above, you must contact the Software Developer Support Team directly at SDSTeam@hmrc.gov.uk. The SDS Team do not monitor this repository.
This repository is for bug reports relating to VAT API code in this repository only.
Fill in the sections below to submit your bug report:
Documentation
API
Describe the bug
A clear and concise description of what the bug is.
The endpoint used to get obligations appears to ignore the from, to and status parameters when in the testing sandbox.
To Reproduce
Steps to reproduce the behavior:
Making a request to /organisations/vat/{vrn}/obligations?from=2017-01-01&to=2017-03-31&status=F returns the following.
It would be really useful if the sandbox respected the query parameters from and to. It is unclear from the documentation whether the matching on dates is inclusive of the start and end dates provided or if you need to take a day off the start and add one to the end to match the quarter date range.
I can see from your comment above you don't need to but finding the answer in a closed issue is not ideal.
Bug report
You must read the information below before you submit a bug report.
The MTD API team cannot help if your bug report is about:
For any of the above, you must contact the Software Developer Support Team directly at SDSTeam@hmrc.gov.uk. The SDS Team do not monitor this repository.
This repository is for bug reports relating to VAT API code in this repository only.
Fill in the sections below to submit your bug report:
Describe the bug
A clear and concise description of what the bug is.
The endpoint used to get obligations appears to ignore the
from
,to
andstatus
parameters when in the testing sandbox.To Reproduce
Steps to reproduce the behavior:
Making a request to
/organisations/vat/{vrn}/obligations?from=2017-01-01&to=2017-03-31&status=F
returns the following.Expected behavior
A clear and concise description of what you expected to happen.
It's expected that
from
andto
will be returnedThis means the result from the API would look like
Screenshots / Requests / Responses
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: