Comments (1)
Hi Senthil-9111,
We would expect that any obligation "end" date that falls within the queried date range to be returned.
So if you did have a VAT obligation spanning 366+ days, any date range that includes the obligation end date should return the obligation details, and periodKey.
So the following obligation could be queried with /obligations?from=2021-07-01&to=2021-07-31
{
"start": "2020-04-06",
"end": "2021-07-05",
"due": "2021-10-07",
"status": "O",
"periodKey": "18AE"
}
You can also query for βopenβ obligations without providing a date range.
Kind regards,
MTD API Team
from vat-api.
Related Issues (20)
- Missing info in new documentation for Submit VAT retrun HOT 2
- how to implement the getting code to generate token api for VAT returns HOT 1
- Inaccurate API documentation
- Gov-Client-Public-IP and Gov-Vendor-Forwarded fraud prevention headers don't support hybrid IPv4/IPv6 addresses HOT 1
- Incorrect DUPLICATE_SUBMISSION error HOT 7
- 500 Response when submitting a VAT Return on the sandbox environment HOT 2
- Test API service: INTERNAL_SERVER_ERROR HOT 22
- Incorrect response, client_id is required when requesting authorisation code HOT 1
- Following a VAT Return submission POST (box 5 non-zero), subsequent Liabilities calls return 404 HOT 3
- Missing Authentication - HMRC error code 401 HOT 1
- Invalid period key -VAT submission HOT 1
- Inconsistent VAT obligations in Sandbox environment HOT 4
- Timeout configuration HOT 2
- 403 - Forbidden - this endpoint is not available HOT 2
- VAT Penalty API - Discrepancy in API JSON names or keys HOT 2
- Incorrect Open VAT Obligations returned HOT 2
- RedirectURI stopped working HOT 1
- HMRC portal RedirectURI stopped working
- Can't get the /financial-details endpoint working in the sandbox HOT 5
- Sandbox: Gov-Test-Scenario header QUARTERLY_OBS_01_OPEN causes 500 Internal Server Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vat-api.