Tax Filing Service

<back to all web services

GetDefinitionKeys

SyncUmsatzsteuerKeysReturnBuilder

A synchronous service to retrieve keys for the identification of VAT properties.

Requires Authentication
The following routes are available for this service:
GET/GetDefinitionKeysA synchronous service to retrieve keys for the identification of VAT properties.
namespace PwC.xEric.Core.Services.Contracts.Umsatzsteuer.ReturnBuilder.Helpers

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    type VatType =
        | UStVA = 0
        | UStDV = 1
        | UStSV = 2
        | USt = 3
        | ZM = 4

    ///<summary>
    ///Create a VAT return from a Return Builder definition. Use the retrieved values as keys for the dictionary of properties that Return Builder provides.
    ///</summary>
    [<Api(Description="Create a VAT return from a Return Builder definition.\n Use the retrieved values as keys for the dictionary of properties that Return Builder provides.")>]
    [<AllowNullLiteral>]
    type GetDefinitionKeysBase() = 
        interface IGet
        ///<summary>
        ///The year of the assessment (Veranlagungsjahr).
        ///</summary>
        [<ApiMember(Description="The year of the assessment (Veranlagungsjahr).")>]
        member val Year:Int32 = new Int32() with get,set

        ///<summary>
        ///The type of VAT return.
        ///</summary>
        [<ApiMember(Description="The type of VAT return.")>]
        member val VatType:VatType = new VatType() with get,set

    ///<summary>
    ///A synchronous service to retrieve keys for the identification of VAT properties.
    ///</summary>
    [<Api(Description="A synchronous service to retrieve keys for the identification of VAT properties.")>]
    [<AllowNullLiteral>]
    type GetDefinitionKeys() = 
        inherit GetDefinitionKeysBase()
        ///<summary>
        ///The year of the assessment (Veranlagungsjahr).
        ///</summary>
        [<ApiMember(Description="The year of the assessment (Veranlagungsjahr).")>]
        member val Year:Int32 = new Int32() with get,set

        ///<summary>
        ///The type of VAT return.
        ///</summary>
        [<ApiMember(Description="The type of VAT return.")>]
        member val VatType:VatType = new VatType() with get,set

F# GetDefinitionKeys DTOs

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

HTTP + X-MSGPACK

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

GET /GetDefinitionKeys HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: application/x-msgpack
HTTP/1.1 200 OK
Content-Type: application/x-msgpack
Content-Length: length

[{"name":"String","description":"String","type":"String","mandatory":"String"}]