Skip to content

Incorrect DUPLICATE_SUBMISSION error #1014

Description

@ddaddy

Bug report

Fill in the sections below to submit your bug report:

  • Documentation
  • API

Describe the bug
I have been sent some logs from a user today (April 1st & 2nd) that show the API reporting his return as already submitted, however not only has it not been submitted yet, the API reports it as an Open period.

{
 due = "2024-05-07";
 end = "2024-03-31";
 periodKey = 24C1;
 start = "2024-01-01";
 status = O;
},
{
 due = "2024-02-07";
 end = "2023-12-31";
 periodKey = 23C4;
 received = "2024-01-01";
 start = "2023-10-01";
 status = F;
},
{
 due = "2023-11-07";
 end = "2023-09-30";
 periodKey = 23C3;
 received = "2023-10-01";
 start = "2023-07-01";
 status = F;
},
{
 due = "2023-08-07";
 end = "2023-06-30";
 periodKey = 23C2;
 received = "2023-07-01";
 start = "2023-04-01";
 status = F;
}

You can clearly see period 24C1 above is Open.

POSTing:

{
"totalValueGoodsSuppliedExVAT":"0",
"vatDueAcquisitions":"0.00",
"netVatDue":"85770.55",
"finalised":true,
"totalVatDue":"26595.03",
"totalValuePurchasesExVAT":"0",
"totalValueSalesExVAT":"0",
"totalAcquisitionsExVAT":"0",
"vatReclaimedCurrPeriod":"112365.58",
"periodKey":"24C1",
"vatDueSales":"26595.03"
}

Response:

{
"code":"BUSINESS_ERROR",
"message":"Business validation error",
"errors":[
{
"code":"DUPLICATE_SUBMISSION",
"message":"The VAT return was already submitted for the given period."
}
]
}

I'm not sure what I can advise him to fix this issue?!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions