FDX REST API
/tax-forms POST
| Attribute | Value |
|---|---|
| Summary | Create tax form |
| Description | Submit the data for a specific tax document |
| Operation Id | createTaxForm |
Request Parameters
| Parameter | Required? | Location | Type | Description |
|---|---|---|---|---|
| Authorization | required | header | string | The [Authorization HTTP request header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization) provides credentials to allow access to a protected resources |
| x-fapi-interaction-id | required | header | FapiInteractionId | Unique identifier for this interaction |
| FDX-API-Actor-Type | optional | header | ActorType | Identifies whether the customer is present (USER) or it is a BATCH operation |
| FDX-API-Data-Provider-Id | optional | header | Identifier | ID for the financial institution responding to the request |
Request Body
| Media Type | Content | Description |
|---|---|---|
| application/json | TaxStatement |
Response
| Response Code | Response Type | Description |
|---|---|---|
| 201 | application/json of TaxStatement | Created document for the tax data submitted |
| 206 | application/json of TaxStatement | Partial Content success creating customer tax document, some errors are being returned |
| 400 | application/json of Error | Tax Form type is not supported |
| 500 | application/json of Error | Catch-all exception where request was not processed due to an internal outage/issue. Consider other more specific errors before using this error |
| 501 | application/json of Error | Error when FdxVersion in Header is not one of those implemented at backend |
| 503 | application/json of Error | System is down for maintenance |