POST | /CreateZmXmlFromDefinition | A synchronous service to create xml content that represents a recapitulative tax declaration (Zusammenfassende Meldung) from the specified dictionary (hash map) of key/value definitions. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DatenLieferant | form | string | Yes | The details of the provider that submits the tax data. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Properties | form | Dictionary<string, string> | No | Dictionary of key-value pairs that represent the intrinsic properties of the VAT declaration. Each key represents a name of the VAT property. Each value of the pair represents the VAT property value. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Jahr | form | int | Yes | The year of the assessment |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Content | form | string | No | The XML-based content of the response. |
ResponseStatus | form | ResponseStatus | No | Metadata that contains structured error information on the XML 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 /CreateZmXmlFromDefinition HTTP/1.1
Host: taxfiling.pwc.de
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
datenLieferant: String,
properties:
{
String: String
},
jahr: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { content: String, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }