Tax Filing Service

<back to all web services

GetDefinitionKeysAsync

AsyncUmsatzsteuerKeysReturnBuilder

An asynchronous service to retrieve keys for the identification of VAT properties.

Requires Authentication
The following routes are available for this service:
GET/GetDefinitionKeysAsyncAn asynchronous service to retrieve keys for the identification of VAT properties.
"use strict";
/** @typedef {'UStVA'|'UStDV'|'UStSV'|'USt'|'ZM'} */
export var VatType;
(function (VatType) {
    VatType["UStVA"] = "UStVA"
    VatType["UStDV"] = "UStDV"
    VatType["UStSV"] = "UStSV"
    VatType["USt"] = "USt"
    VatType["ZM"] = "ZM"
})(VatType || (VatType = {}));
export class GetDefinitionKeysBase {
    /** @param {{year?:number,vatType?:VatType}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {number}
     * @description The year of the assessment (Veranlagungsjahr). */
    year;
    /**
     * @type {VatType}
     * @description The type of VAT return. */
    vatType;
}
export class GetDefinitionKeysAsync extends GetDefinitionKeysBase {
    /** @param {{year?:number,vatType?:VatType,year?:number,vatType?:VatType}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {number}
     * @description The year of the assessment (Veranlagungsjahr). */
    year;
    /**
     * @type {VatType}
     * @description The type of VAT return. */
    vatType;
}

JavaScript GetDefinitionKeysAsync DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /GetDefinitionKeysAsync HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfDefinitionKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PwC.xEric.Core.Services.Contracts.Umsatzsteuer.ReturnBuilder.Helpers">
  <DefinitionKey>
    <Description>String</Description>
    <Mandatory>String</Mandatory>
    <Name>String</Name>
    <Type>String</Type>
  </DefinitionKey>
</ArrayOfDefinitionKey>