Comments (5)
Can this be looked at instead of 'closing due to age'!
from vat-api.
Hey Andy, thanks for re-opening the issue to let us know it's still current.
The value in netVatDue (box 5) must be positive. It works the same way as the old paper forms. It is the difference between totalVatDue (box 3) and vatReclaimedCurrPeriod (box 4).
If the figure in totalVatDue is more than the figure in vatReclaimedCurrPeriod, the difference is the amount you must pay. If the figure in totalVatDue is less than the figure in vatReclaimedCurrPeriod we'll credit your account and repay the balance, subject to any enquiries we may need to make.
Payment indicator is randomised in Sandbox, the value changes between DD
and BANK
from vat-api.
Thanks for the reply, and yes I understand the logic and have no problem with that.
My problem is if the amount due to HMRC in box 5 is negative, in the sandbox,a submission will return the payment indicator as Bank or DD , where as in production the payment indicator is not returned (therefore undefined). Can it return NULL?
With it not being returned in production is not the same as the sandbox, can they be synced so they both are consistant?
from vat-api.
Hi Andy
The description of the payment indicator is
Is DD if the netVatDue value is a debit and HMRC holds a Direct Debit Instruction for the client. Is BANK if the netVatDue value is a credit and HMRC holds the client’s bank data. Otherwise not present.
As an optional field, we would normally opt to always return it in the Sandbox to enable testing, as we couldn't cater for every scenario:
- debit where HRMC hold direct debit instructions =
DD
- debit where HMRC doesn't = Not returned
- credit where HMRC holds client bank data =
BANK
- credit where HMRC doesn't = Not returned
Additionally our stubbed backend used Sandbox is not currently able to calculate whether box 5 is a debit or credit.
I'll pass on the suggestion to enhance this to the MTD team. However, I wouldn't expect we'd touch it given the Sandbox response is a correct example of a Production response, and the Sandbox environment is not intended to provide a like-for-like Production experience.
Thanks
from vat-api.
Our team considers this issue resolved. Please use git to raise any new issues.
from vat-api.
Related Issues (20)
- 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
- 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
- Invalid scope errors from prod OAuth2 service HOT 2
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.