Validate
Executes business and data validation checks for the 1042-S returns already created in API. Use the Submission ID and Record IDs of the return to validate.
GET Form1042S/Validate
Request Params
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | Guid[] | An unique identifier generated by TaxBandits when a 1042-S return is created. Mention the 1042-S return's Record ID that you want to Validate. |
Request Params
Provide the SubmissionId and RecordId to validate the 1042-S return.
"Form1042S/Validate?SubmissionId=656e3f17-849a-4d65-bdcf-d1334d25dc55&RecordIds=7c3aeea3-ebfe-4e15-8f43-04d0548d80c4"
Response Body
Field | Type | Description |
---|---|---|
StatusCode | number | Returns the HTTP status codes like 200,300 etc. |
StatusName | string | Name of the status code |
StatusMessage | string | Detailed status message |
SubmissionId | Guid | Unique identifier of a submission |
Form1042SRecords | object | Pulls the Form 1042-S records with Success and Error statuses |
SuccessRecords | object[] | It will show the detailed information about the success status of Form 1042-S Records |
SequenceId | string | A unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the Response for your reference. |
RecordId | Guid | Record ID of the returns that were successfully validated. |
Status | string | Returns the status of the records. |
StatusTs | string | Date and time of return created. |
StateReturns | object[] | Returns collection of state returns information |
StateCd | string | Returns the state code of the state for which the return is filed. |
Status | string | Returns the record status of the state return. |
StatusTs | string | Date and time of the return created. |
Info | string | Returns the information about the state for which we are not supporting state filing. |
OnlineAccess | object | Returns the Email address for whom the online access to be given and Status of online access. |
Status | string | Returns status of online access for Form 1042-S return. |
string | Email address for whom the online access to be given. | |
Info | string | Information about the online access service. |
ErrorRecords | object[] | It will show the detailed information about the error status of Form 1042-S Records. |
SequenceId | string | An unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the Response for your reference. |
RecordId | Guid | Unique identifier of a record |
Errors | object[] | Shows detailed error information |
Id | string | Returns the validation error id |
Name | string | Name of the validation error |
Message | string | Description of the validation error |
Errors | object[] | Shows detailed error information |
Id | string | Returns the validation error Id |
Name | string | Name of the validation error |
Message | string | Description of the validation error |
Response JSON
For the given parameters, 1042-S will be validated.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "e842a0d4-ea06-4051-894c-e612426ad44d",
"Form1042SRecords": {
"SuccessRecords": [
{
"SequenceId": "1",
"RecordId": "794f41ab-aaaf-4ec1-8c45-3ac588c05db8",
"Status": "CREATED",
"StatusTs": "2024-06-21 02:18:58 -04:00"
}
],
"ErrorRecords": null
},
"Errors": null
}