| POST | /CheckElster | A synchronous service to perform basic checks on a batch of tax data. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | TaxData | Yes | The ELSTER tax data to check. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | Yes | The unique identifier of the tax data. |
| Content | form | string | Yes | The XML-based tax declaration. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ZertifikatErforderlich | form | bool | No | Checks whether a portal certificate is required to sign the tax data. |
| HatHerstellerId | form | bool | No | Checks whether a Manufacturer ID has been provided for the tax data. |
| HatDatenlieferant | form | bool | No | Checks whether a data provider has been provided for the tax data. |
| TransferProtokollDruckbar | form | bool | No | Checks whether the PDF-based transfer protocol for the tax data can be printed out for the type of tax data. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | Yes | The unique identifier of the response. |
| Index | form | int | No | The position of the response element in an indexed collection. |
| ResponseStatus | form | ResponseStatus | No | Metadata that contains structured error information on the service response. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /CheckElster HTTP/1.1
Host: taxfiling.staging.pwc.de
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
data:
{
id: String,
content: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
zertifikatErforderlich: False,
hatHerstellerId: False,
hatDatenlieferant: False,
transferProtokollDruckbar: False,
id: String,
index: 0,
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}