Tax Filing Service

<back to all web services

BatchCheckElsterAsync

AsyncBearbeiteVorgangÜberprüfung

An asynchronous service to perform basic checks on a batch of tax data.

Requires Authentication
The following routes are available for this service:
POST/BatchCheckElsterAsyncAn asynchronous service to perform basic checks on a batch of tax data.

/** @description Represents a structure that encapsulates a tax declaration. */
// @Api(Description="Represents a structure that encapsulates a tax declaration.")
export class TaxData
{
    /** @description The unique identifier of the tax data. */
    // @ApiMember(Description="The unique identifier of the tax data.", IsRequired=true)
    public id: string;

    /** @description The XML-based tax declaration. */
    // @ApiMember(Description="The XML-based tax declaration.", IsRequired=true)
    public content: string;

    public constructor(init?: Partial<TaxData>) { (Object as any).assign(this, init); }
}

/** @description A base service to perform basic checks on a batch of tax data. */
// @Api(Description="A base service to perform basic checks on a batch of tax data.")
export class BatchCheckElsterBase implements IPost
{
    /** @description The batch of ELSTER tax data to check. */
    // @ApiMember(Description="The batch of ELSTER tax data to check.", Name="Data")
    public data: TaxData[];

    public constructor(init?: Partial<BatchCheckElsterBase>) { (Object as any).assign(this, init); }
}

/** @description An asynchronous service to perform basic checks on a batch of tax data. */
// @Api(Description="An asynchronous service to perform basic checks on a batch of tax data.")
export class BatchCheckElsterAsync extends BatchCheckElsterBase
{
    /** @description The batch of ELSTER tax data to check. */
    // @ApiMember(Description="The batch of ELSTER tax data to check.", Name="Data")
    public data: TaxData[];

    public constructor(init?: Partial<BatchCheckElsterAsync>) { super(init); (Object as any).assign(this, init); }
}

TypeScript BatchCheckElsterAsync DTOs

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

HTTP + CSV

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

POST /BatchCheckElsterAsync HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"data":[{"id":"String","content":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[{"zertifikatErforderlich":false,"hatHerstellerId":false,"hatDatenlieferant":false,"stagingEnabled":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"}}}]