Giter Site home page Giter Site logo

Comments (5)

AndyYouens avatar AndyYouens commented on September 3, 2024

Can this be looked at instead of 'closing due to age'!

from vat-api.

hmrc-api-team avatar hmrc-api-team commented on September 3, 2024

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.

AndyYouens avatar AndyYouens commented on September 3, 2024

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.

hmrc-api-team avatar hmrc-api-team commented on September 3, 2024

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:

  1. debit where HRMC hold direct debit instructions = DD
  2. debit where HMRC doesn't = Not returned
  3. credit where HMRC holds client bank data = BANK
  4. 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.

hmrc-api-team avatar hmrc-api-team commented on September 3, 2024

Our team considers this issue resolved. Please use git to raise any new issues.

from vat-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.