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
Describe the bug
Following a successful submission of a VAT Return, which has a box 5 negative or positive value, the subsequent liabilities call after that returns 404 (intermittent).
Not only the immediate call to liabilities endpoint does return 404, but subsequent calls over the spans of days also do.
Thank you for reaching out.
We are looking into this issue and have reached out to the relevant teams. Could you please forward an email to the SDS team with the information that is redacted in it? (if you haven't done already) This will help out with the investigation.
As for your question about us returning the HTML in the error. That is something we can look into and we will be.
Thank you for flagging this and we are hoping we can get some resolution from the various teams.
I understand that in the example I have given above, 404 response may be expected behaviour. As the SDS team explained to me, the liability can get updated with a delay (by the following working day morning).
We have however examples where the liabilities endpoint keeps returning 404, example provided to the SDS team:
Describe the bug
Following a successful submission of a VAT Return, which has a box 5 negative or positive value, the subsequent liabilities call after that returns 404 (intermittent).
Not only the immediate call to liabilities endpoint does return 404, but subsequent calls over the spans of days also do.
Example requests:
1. Submission call (POST)
URL: https://api.service.hmrc.gov.uk/organisations/vat/REDACTED/returns
Request body: {"periodKey":"22C2","vatDueSales":5259.47,"vatDueAcquisitions":0.0,"totalVatDue":5259.47,"vatReclaimedCurrPeriod":5646.96,"netVatDue":387.49,"totalValueSalesExVAT":27098,"totalValuePurchasesExVAT":42777,"totalValueGoodsSuppliedExVAT":0,"totalAcquisitionsExVAT":0,"finalised":true}
Request timestamp: 2022-08-02 13:09:23.341653+00
Response body: {"processingDate":"2022-08-02T13:09:23.000Z","formBundleNumber":"REDACTED","paymentIndicator":"BANK"}
Response timestamp: 2022-08-02 13:09:24.590532+00
Response status code: 201.
2. Liabilities call (GET)
URL: https://api.service.hmrc.gov.uk/organisations/vat/REDACTED/liabilities?from=2022-04-01&to=2022-06-30
Request timestamp: 2022-08-02 13:11:00.432338+00
Response body: {"code":"NOT_FOUND","message":"The remote endpoint has indicated that no data can be found"}
Response timestamp: 2022-08-02 13:11:00.844791+00
Response status code: 404.
To Reproduce
Call the API as above.
Expected behavior
Liabilities endpoint returns 200 OK with liability data showing the relevant liability and the amount due for payment / refund.
Screenshots / Requests / Responses
As above.
Additional context
The scale of this problem is quite major, affecting thousands of our customers.
The text was updated successfully, but these errors were encountered: