v1

latestOpenAPI 3.0.32026-07-13833259.3 KB
organisations

Submit VAT return for period

Submit VAT return for period. This endpoint is one of the mandatory endpoints to use to achieve the minimum level of compliance. The other endpoint required to achieve the minimum level of compliance is Retrieve VAT obligations.

Test data

<p>Scenario simulations using Gov-Test-Scenario headers are only available in sandbox environment.</p> <p>Using this endpoint in the sandbox environment will store the data submitted. There is no requirement to use the periodKeys in the obligation response in the sandbox environment.</p> <table> <thead> <tr> <th>Header Value (Gov-Test-Scenario)</th> <th>Scenario</th> </tr> </thead> <tbody> <tr> <td><p>INVALID_VRN</p></td> <td><p>Submission has not passed validation. Invalid parameter VRN.</p></td> </tr> <tr> <td><p>INVALID_PERIODKEY</p></td> <td><p>Submission has not passed validation. Invalid parameter PERIODKEY.</p></td> </tr> <tr> <td><p>INVALID_PAYLOAD</p></td> <td><p>Submission has not passed validation. Invalid parameter Payload.</p></td> </tr> <tr> <td><p>DUPLICATE_SUBMISSION</p></td> <td><p>The remote endpoint has indicated that VAT has already been submitted for that period.</p></td> </tr> <tr> <td><p>TAX_PERIOD_NOT_ENDED</p></td> <td><p>The remote endpoint has indicated that the submission is for a tax period that has not ended.</p></td> </tr> <tr> <td><p>INSOLVENT_TRADER</p></td> <td><p>Simulates the scenario where the client is an insolvent trader.</p></td> </tr> </tbody> </table>
post/organisations/vat/{vrn}/returns

Path parameters

vrnstring required
Example:123456789

VAT registration number. <br> A nine-digit number.

Headers

Gov-Test-Scenariostring
Example:-

Only in sandbox environment. See Test Data table for all header values.

Request body

periodKeystring required

The ID code for the period that this obligation belongs to. The format is a string of four alphanumeric characters. Occasionally the format includes the # symbol.

vatDueSalesnumber required

Defines a monetary value (to 2 decimal places), between -9,999,999,999,999.99 and 9,999,999,999,999.99

vatDueAcquisitionsnumber required

Defines a monetary value (to 2 decimal places), between -9,999,999,999,999.99 and 9,999,999,999,999.99

totalVatDuenumber required

The sum of the vatDueSales and vatDueAcquisitions values.

Defines a monetary value (to 2 decimal places), between -9,999,999,999,999.99 and 9,999,999,999,999.99

vatReclaimedCurrPeriodnumber required

Defines a monetary value (to 2 decimal places), between -9,999,999,999,999.99 and 9,999,999,999,999.99

netVatDuenumber required

The absolute difference between the totalVatDue and vatReclaimedCurrPeriod values. This should therefore be a positive number, calculated by subtracting the smallest value from the largest. HMRC will automatically determine whether the number represents net VAT that is due or net VAT that can be reclaimed.

Defines a monetary value (to 2 decimal places), between 0 and 99,999,999,999.99

totalValueSalesExVATnumber required

Defines a monetary value (to 2 zeroed decimal places), between -9,999,999,999,999.00 and 9,999,999,999,999.00

totalValuePurchasesExVATnumber required

Defines a monetary value (to 2 zeroed decimal places), between -9,999,999,999,999.00 and 9,999,999,999,999.00

totalValueGoodsSuppliedExVATnumber required

Defines a monetary value (to 2 zeroed decimal places), between -9,999,999,999,999.00 and 9,999,999,999,999.00

totalAcquisitionsExVATnumber required

Defines a monetary value (to 2 zeroed decimal places), between -9,999,999,999,999.00 and 9,999,999,999,999.00

finalisedboolean required

Declaration that the user has finalised their VAT return.

Example request

{
  "finalised": true
}

Response

processingDatestring date-time required

The time that the message was processed in the system.

formBundleNumberstring required

Unique number that represents the form bundle. The system stores VAT Return data in forms, which are held in a unique form bundle.

paymentIndicator'DD' | 'BANK'
  • DD - The netVatDue value is a debit, and HMRC holds a Direct Debit instruction for the client.
  • BANK - The netVatDue value is a credit, and HMRC holds the client’s bank data.
chargeRefNumberstring

The charge reference number is returned, only if the netVatDue value is a debit. Between 1 and 16 characters.