BokaMera.API.Host

<back to all web services

EAccountingInvoiceDraftQuery

The following routes are available for this service:
GET/eaccounting/invoicedrafts
import 'package:servicestack/servicestack.dart';

// @DataContract
abstract class QueryBase
{
    // @DataMember(Order=1)
    int? Skip;

    // @DataMember(Order=2)
    int? Take;

    // @DataMember(Order=3)
    String? OrderBy;

    // @DataMember(Order=4)
    String? OrderByDesc;

    // @DataMember(Order=5)
    String? Include;

    // @DataMember(Order=6)
    String? Fields;

    // @DataMember(Order=7)
    Map<String,String?>? Meta;

    QueryBase({this.Skip,this.Take,this.OrderBy,this.OrderByDesc,this.Include,this.Fields,this.Meta});
    QueryBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Skip = json['Skip'];
        Take = json['Take'];
        OrderBy = json['OrderBy'];
        OrderByDesc = json['OrderByDesc'];
        Include = json['Include'];
        Fields = json['Fields'];
        Meta = JsonConverters.toStringMap(json['Meta']);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Skip': Skip,
        'Take': Take,
        'OrderBy': OrderBy,
        'OrderByDesc': OrderByDesc,
        'Include': Include,
        'Fields': Fields,
        'Meta': Meta
    };

    getTypeName() => "QueryBase";
    TypeContext? context = _ctx;
}

abstract class QueryData<T> extends QueryBase
{
    QueryData();
    QueryData.fromJson(Map<String, dynamic> json) : super.fromJson(json);
    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson();
    getTypeName() => "QueryData<$T>";
    TypeContext? context = _ctx;
}

enum GreenTechnologyType
{
    None,
    SolarCellInstallation,
    ElectricEnergyStorageInstallation,
    ElectricVehicleChargingPointInstallation,
}

class ContributionMargin implements IConvertible
{
    int? Amount;
    int? Percentage;

    ContributionMargin({this.Amount,this.Percentage});
    ContributionMargin.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Amount = json['Amount'];
        Percentage = json['Percentage'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Amount': Amount,
        'Percentage': Percentage
    };

    getTypeName() => "ContributionMargin";
    TypeContext? context = _ctx;
}

class InvoiceDraftLineQueryResponse implements IConvertible
{
    String ArticleNumber = "";
    String ArticleId = "";
    bool? IsServiceArticle;
    double AmountNoVat = 0;
    double PercentVat = 0;
    int? LineNumber;
    bool IsTextRow;
    String Text = "";
    double? UnitPrice;
    String UnitAbbreviation = "";
    String UnitAbbreviationEnglish = "";
    double? DiscountPercentage;
    double? Quantity;
    bool IsWorkCost;
    bool IsVatFree;
    String CostCenterItemId1 = "";
    String CostCenterItemId2 = "";
    String CostCenterItemId3 = "";
    String UnitId = "";
    String ProjectId = "";
    int? WorkCostType;
    double? WorkHours;
    double? MaterialCosts;
    GreenTechnologyType? GreenTechnologyType;
    ContributionMargin ContributionMargin;

    InvoiceDraftLineQueryResponse({this.ArticleNumber,this.ArticleId,this.IsServiceArticle,this.AmountNoVat,this.PercentVat,this.LineNumber,this.IsTextRow,this.Text,this.UnitPrice,this.UnitAbbreviation,this.UnitAbbreviationEnglish,this.DiscountPercentage,this.Quantity,this.IsWorkCost,this.IsVatFree,this.CostCenterItemId1,this.CostCenterItemId2,this.CostCenterItemId3,this.UnitId,this.ProjectId,this.WorkCostType,this.WorkHours,this.MaterialCosts,this.GreenTechnologyType,this.ContributionMargin});
    InvoiceDraftLineQueryResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ArticleNumber = json['ArticleNumber'];
        ArticleId = json['ArticleId'];
        IsServiceArticle = json['IsServiceArticle'];
        AmountNoVat = JsonConverters.toDouble(json['AmountNoVat']);
        PercentVat = JsonConverters.toDouble(json['PercentVat']);
        LineNumber = json['LineNumber'];
        IsTextRow = json['IsTextRow'];
        Text = json['Text'];
        UnitPrice = JsonConverters.toDouble(json['UnitPrice']);
        UnitAbbreviation = json['UnitAbbreviation'];
        UnitAbbreviationEnglish = json['UnitAbbreviationEnglish'];
        DiscountPercentage = JsonConverters.toDouble(json['DiscountPercentage']);
        Quantity = JsonConverters.toDouble(json['Quantity']);
        IsWorkCost = json['IsWorkCost'];
        IsVatFree = json['IsVatFree'];
        CostCenterItemId1 = json['CostCenterItemId1'];
        CostCenterItemId2 = json['CostCenterItemId2'];
        CostCenterItemId3 = json['CostCenterItemId3'];
        UnitId = json['UnitId'];
        ProjectId = json['ProjectId'];
        WorkCostType = json['WorkCostType'];
        WorkHours = JsonConverters.toDouble(json['WorkHours']);
        MaterialCosts = JsonConverters.toDouble(json['MaterialCosts']);
        GreenTechnologyType = JsonConverters.fromJson(json['GreenTechnologyType'],'GreenTechnologyType',context!);
        ContributionMargin = JsonConverters.fromJson(json['ContributionMargin'],'ContributionMargin',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ArticleNumber': ArticleNumber,
        'ArticleId': ArticleId,
        'IsServiceArticle': IsServiceArticle,
        'AmountNoVat': AmountNoVat,
        'PercentVat': PercentVat,
        'LineNumber': LineNumber,
        'IsTextRow': IsTextRow,
        'Text': Text,
        'UnitPrice': UnitPrice,
        'UnitAbbreviation': UnitAbbreviation,
        'UnitAbbreviationEnglish': UnitAbbreviationEnglish,
        'DiscountPercentage': DiscountPercentage,
        'Quantity': Quantity,
        'IsWorkCost': IsWorkCost,
        'IsVatFree': IsVatFree,
        'CostCenterItemId1': CostCenterItemId1,
        'CostCenterItemId2': CostCenterItemId2,
        'CostCenterItemId3': CostCenterItemId3,
        'UnitId': UnitId,
        'ProjectId': ProjectId,
        'WorkCostType': WorkCostType,
        'WorkHours': WorkHours,
        'MaterialCosts': MaterialCosts,
        'GreenTechnologyType': JsonConverters.toJson(GreenTechnologyType,'GreenTechnologyType',context!),
        'ContributionMargin': JsonConverters.toJson(ContributionMargin,'ContributionMargin',context!)
    };

    getTypeName() => "InvoiceDraftLineQueryResponse";
    TypeContext? context = _ctx;
}

class Person implements IConvertible
{
    String Ssn = "";
    int Amount = 0;

    Person({this.Ssn,this.Amount});
    Person.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Ssn = json['Ssn'];
        Amount = json['Amount'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Ssn': Ssn,
        'Amount': Amount
    };

    getTypeName() => "Person";
    TypeContext? context = _ctx;
}

class EAccountingInvoiceAddress implements IConvertible
{
    String CorporateIdentityNumber = "";
    String InvoiceAddress1 = "";
    String InvoiceAddress2 = "";
    String InvoiceCity = "";
    String InvoicePostalCode = "";
    String InvoiceCountryCode = "";

    EAccountingInvoiceAddress({this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode});
    EAccountingInvoiceAddress.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        CorporateIdentityNumber = json['CorporateIdentityNumber'];
        InvoiceAddress1 = json['InvoiceAddress1'];
        InvoiceAddress2 = json['InvoiceAddress2'];
        InvoiceCity = json['InvoiceCity'];
        InvoicePostalCode = json['InvoicePostalCode'];
        InvoiceCountryCode = json['InvoiceCountryCode'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'CorporateIdentityNumber': CorporateIdentityNumber,
        'InvoiceAddress1': InvoiceAddress1,
        'InvoiceAddress2': InvoiceAddress2,
        'InvoiceCity': InvoiceCity,
        'InvoicePostalCode': InvoicePostalCode,
        'InvoiceCountryCode': InvoiceCountryCode
    };

    getTypeName() => "EAccountingInvoiceAddress";
    TypeContext? context = _ctx;
}

class NoteQueryResponse implements IConvertible
{
    String Id = "";
    String Text = "";
    DateTime CreatedUtc = DateTime(0);
    DateTime ModifiedUtc = DateTime(0);

    NoteQueryResponse({this.Id,this.Text,this.CreatedUtc,this.ModifiedUtc});
    NoteQueryResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Id = json['Id'];
        Text = json['Text'];
        CreatedUtc = JsonConverters.fromJson(json['CreatedUtc'],'DateTime',context!);
        ModifiedUtc = JsonConverters.fromJson(json['ModifiedUtc'],'DateTime',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Id': Id,
        'Text': Text,
        'CreatedUtc': JsonConverters.toJson(CreatedUtc,'DateTime',context!),
        'ModifiedUtc': JsonConverters.toJson(ModifiedUtc,'DateTime',context!)
    };

    getTypeName() => "NoteQueryResponse";
    TypeContext? context = _ctx;
}

class InvoiceDraftQueryResponse implements IConvertible
{
    String InvoiceId = "";
    DateTime? CreatedDate;
    double? TotalAmount;
    double? TotalVatAmount;
    String CustomerId = "";
    List<InvoiceDraftLineQueryResponse> Rows = [];
    String InvoiceDate = "";
    String DueDate = "";
    DateTime? DeliveryDate;
    List<Person> Persons = [];
    String InvoiceCustomerName = "";
    EAccountingInvoiceAddress InvoiceAddress;
    bool CustomerIsPrivatePerson;
    String CustomerNumber = "";
    List<NoteQueryResponse> Notes = [];
    List<String> NoteIds = [];
    DateTime CreatedUtc = DateTime(0);
    bool IncludesVat;
    String PriceSign = "";
    String? BookingId;

    InvoiceDraftQueryResponse({this.InvoiceId,this.CreatedDate,this.TotalAmount,this.TotalVatAmount,this.CustomerId,this.Rows,this.InvoiceDate,this.DueDate,this.DeliveryDate,this.Persons,this.InvoiceCustomerName,this.InvoiceAddress,this.CustomerIsPrivatePerson,this.CustomerNumber,this.Notes,this.NoteIds,this.CreatedUtc,this.IncludesVat,this.PriceSign,this.BookingId});
    InvoiceDraftQueryResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        InvoiceId = json['InvoiceId'];
        CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!);
        TotalAmount = JsonConverters.toDouble(json['TotalAmount']);
        TotalVatAmount = JsonConverters.toDouble(json['TotalVatAmount']);
        CustomerId = json['CustomerId'];
        Rows = JsonConverters.fromJson(json['Rows'],'List<InvoiceDraftLineQueryResponse>',context!);
        InvoiceDate = json['InvoiceDate'];
        DueDate = json['DueDate'];
        DeliveryDate = JsonConverters.fromJson(json['DeliveryDate'],'DateTime',context!);
        Persons = JsonConverters.fromJson(json['Persons'],'List<Person>',context!);
        InvoiceCustomerName = json['InvoiceCustomerName'];
        InvoiceAddress = JsonConverters.fromJson(json['InvoiceAddress'],'EAccountingInvoiceAddress',context!);
        CustomerIsPrivatePerson = json['CustomerIsPrivatePerson'];
        CustomerNumber = json['CustomerNumber'];
        Notes = JsonConverters.fromJson(json['Notes'],'List<NoteQueryResponse>',context!);
        NoteIds = JsonConverters.fromJson(json['NoteIds'],'List<String>',context!);
        CreatedUtc = JsonConverters.fromJson(json['CreatedUtc'],'DateTime',context!);
        IncludesVat = json['IncludesVat'];
        PriceSign = json['PriceSign'];
        BookingId = json['BookingId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'InvoiceId': InvoiceId,
        'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!),
        'TotalAmount': TotalAmount,
        'TotalVatAmount': TotalVatAmount,
        'CustomerId': CustomerId,
        'Rows': JsonConverters.toJson(Rows,'List<InvoiceDraftLineQueryResponse>',context!),
        'InvoiceDate': InvoiceDate,
        'DueDate': DueDate,
        'DeliveryDate': JsonConverters.toJson(DeliveryDate,'DateTime',context!),
        'Persons': JsonConverters.toJson(Persons,'List<Person>',context!),
        'InvoiceCustomerName': InvoiceCustomerName,
        'InvoiceAddress': JsonConverters.toJson(InvoiceAddress,'EAccountingInvoiceAddress',context!),
        'CustomerIsPrivatePerson': CustomerIsPrivatePerson,
        'CustomerNumber': CustomerNumber,
        'Notes': JsonConverters.toJson(Notes,'List<NoteQueryResponse>',context!),
        'NoteIds': JsonConverters.toJson(NoteIds,'List<String>',context!),
        'CreatedUtc': JsonConverters.toJson(CreatedUtc,'DateTime',context!),
        'IncludesVat': IncludesVat,
        'PriceSign': PriceSign,
        'BookingId': BookingId
    };

    getTypeName() => "InvoiceDraftQueryResponse";
    TypeContext? context = _ctx;
}

class EAccountingInvoiceDraftQuery extends QueryData<InvoiceDraftQueryResponse> implements ICompany, IConvertible
{
    int? BookingId;
    bool IncludeInvoiceLines;
    bool IncludeInvoiceNotes;
    String? CompanyId;

    EAccountingInvoiceDraftQuery({this.BookingId,this.IncludeInvoiceLines,this.IncludeInvoiceNotes,this.CompanyId});
    EAccountingInvoiceDraftQuery.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        BookingId = json['BookingId'];
        IncludeInvoiceLines = json['IncludeInvoiceLines'];
        IncludeInvoiceNotes = json['IncludeInvoiceNotes'];
        CompanyId = json['CompanyId'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'BookingId': BookingId,
        'IncludeInvoiceLines': IncludeInvoiceLines,
        'IncludeInvoiceNotes': IncludeInvoiceNotes,
        'CompanyId': CompanyId
    });

    getTypeName() => "EAccountingInvoiceDraftQuery";
    TypeContext? context = _ctx;
}

class AccessKeyTypeResponse implements IConvertible
{
    int Id = 0;
    String KeyType = "";
    String Description = "";

    AccessKeyTypeResponse({this.Id,this.KeyType,this.Description});
    AccessKeyTypeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Id = json['Id'];
        KeyType = json['KeyType'];
        Description = json['Description'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Id': Id,
        'KeyType': KeyType,
        'Description': Description
    };

    getTypeName() => "AccessKeyTypeResponse";
    TypeContext? context = _ctx;
}

// @DataContract
class QueryResponse<T> implements IConvertible
{
    // @DataMember(Order=1)
    int Offset = 0;

    // @DataMember(Order=2)
    int Total = 0;

    // @DataMember(Order=3)
    List<AccessKeyTypeResponse> Results = [];

    // @DataMember(Order=4)
    Map<String,String?>? Meta;

    // @DataMember(Order=5)
    ResponseStatus? ResponseStatus;

    QueryResponse({this.Offset,this.Total,this.Results,this.Meta,this.ResponseStatus});
    QueryResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Offset = json['Offset'];
        Total = json['Total'];
        Results = JsonConverters.fromJson(json['Results'],'List<AccessKeyTypeResponse>',context!);
        Meta = JsonConverters.toStringMap(json['Meta']);
        ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Offset': Offset,
        'Total': Total,
        'Results': JsonConverters.toJson(Results,'List<AccessKeyTypeResponse>',context!),
        'Meta': Meta,
        'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!)
    };

    getTypeName() => "QueryResponse<$T>";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: <String, TypeInfo> {
    'GreenTechnologyType': TypeInfo(TypeOf.Enum, enumValues:GreenTechnologyType.values),
    'ContributionMargin': TypeInfo(TypeOf.Class, create:() => ContributionMargin()),
    'InvoiceDraftLineQueryResponse': TypeInfo(TypeOf.Class, create:() => InvoiceDraftLineQueryResponse()),
    'Person': TypeInfo(TypeOf.Class, create:() => Person()),
    'EAccountingInvoiceAddress': TypeInfo(TypeOf.Class, create:() => EAccountingInvoiceAddress()),
    'NoteQueryResponse': TypeInfo(TypeOf.Class, create:() => NoteQueryResponse()),
    'InvoiceDraftQueryResponse': TypeInfo(TypeOf.Class, create:() => InvoiceDraftQueryResponse()),
    'List<InvoiceDraftLineQueryResponse>': TypeInfo(TypeOf.Class, create:() => <InvoiceDraftLineQueryResponse>[]),
    'List<Person>': TypeInfo(TypeOf.Class, create:() => <Person>[]),
    'List<NoteQueryResponse>': TypeInfo(TypeOf.Class, create:() => <NoteQueryResponse>[]),
    'EAccountingInvoiceDraftQuery': TypeInfo(TypeOf.Class, create:() => EAccountingInvoiceDraftQuery()),
    'List<InvoiceDraftQueryResponse>': TypeInfo(TypeOf.Class, create:() => <InvoiceDraftQueryResponse>[]),
    'AccessKeyTypeResponse': TypeInfo(TypeOf.Class, create:() => AccessKeyTypeResponse()),
    'List<AccessKeyTypeResponse>': TypeInfo(TypeOf.Class, create:() => <AccessKeyTypeResponse>[]),
});

Dart EAccountingInvoiceDraftQuery 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 /eaccounting/invoicedrafts HTTP/1.1 
Host: api.bokamera.se 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfEAccountingDtos.InvoiceDraftQueryResponseWg5EthtI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
    <d2p1:EAccountingDtos.InvoiceDraftQueryResponse>
      <d2p1:BookingId>String</d2p1:BookingId>
      <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
      <d2p1:CreatedUtc>0001-01-01T00:00:00</d2p1:CreatedUtc>
      <d2p1:CustomerId>String</d2p1:CustomerId>
      <d2p1:CustomerIsPrivatePerson>false</d2p1:CustomerIsPrivatePerson>
      <d2p1:CustomerNumber>String</d2p1:CustomerNumber>
      <d2p1:DeliveryDate>0001-01-01T00:00:00</d2p1:DeliveryDate>
      <d2p1:DueDate>String</d2p1:DueDate>
      <d2p1:IncludesVat>false</d2p1:IncludesVat>
      <d2p1:InvoiceAddress>
        <d2p1:CorporateIdentityNumber>String</d2p1:CorporateIdentityNumber>
        <d2p1:InvoiceAddress1>String</d2p1:InvoiceAddress1>
        <d2p1:InvoiceAddress2>String</d2p1:InvoiceAddress2>
        <d2p1:InvoiceCity>String</d2p1:InvoiceCity>
        <d2p1:InvoiceCountryCode>String</d2p1:InvoiceCountryCode>
        <d2p1:InvoicePostalCode>String</d2p1:InvoicePostalCode>
      </d2p1:InvoiceAddress>
      <d2p1:InvoiceCustomerName>String</d2p1:InvoiceCustomerName>
      <d2p1:InvoiceDate>String</d2p1:InvoiceDate>
      <d2p1:InvoiceId>00000000-0000-0000-0000-000000000000</d2p1:InvoiceId>
      <d2p1:NoteIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:NoteIds>
      <d2p1:Notes>
        <d2p1:EAccountingDtos.NoteQueryResponse>
          <d2p1:CreatedUtc>0001-01-01T00:00:00</d2p1:CreatedUtc>
          <d2p1:Id>String</d2p1:Id>
          <d2p1:ModifiedUtc>0001-01-01T00:00:00</d2p1:ModifiedUtc>
          <d2p1:Text>String</d2p1:Text>
        </d2p1:EAccountingDtos.NoteQueryResponse>
      </d2p1:Notes>
      <d2p1:Persons>
        <d2p1:EAccountingClientDtos.Person>
          <d2p1:Amount>0</d2p1:Amount>
          <d2p1:Ssn>String</d2p1:Ssn>
        </d2p1:EAccountingClientDtos.Person>
      </d2p1:Persons>
      <d2p1:PriceSign>String</d2p1:PriceSign>
      <d2p1:Rows>
        <d2p1:EAccountingDtos.InvoiceDraftLineQueryResponse>
          <d2p1:AmountNoVat>0</d2p1:AmountNoVat>
          <d2p1:ArticleId>String</d2p1:ArticleId>
          <d2p1:ArticleNumber>String</d2p1:ArticleNumber>
          <d2p1:ContributionMargin>
            <d2p1:Amount>0</d2p1:Amount>
            <d2p1:Percentage>0</d2p1:Percentage>
          </d2p1:ContributionMargin>
          <d2p1:CostCenterItemId1>String</d2p1:CostCenterItemId1>
          <d2p1:CostCenterItemId2>String</d2p1:CostCenterItemId2>
          <d2p1:CostCenterItemId3>String</d2p1:CostCenterItemId3>
          <d2p1:DiscountPercentage>0</d2p1:DiscountPercentage>
          <d2p1:GreenTechnologyType>None</d2p1:GreenTechnologyType>
          <d2p1:IsServiceArticle>false</d2p1:IsServiceArticle>
          <d2p1:IsTextRow>false</d2p1:IsTextRow>
          <d2p1:IsVatFree>false</d2p1:IsVatFree>
          <d2p1:IsWorkCost>false</d2p1:IsWorkCost>
          <d2p1:LineNumber>0</d2p1:LineNumber>
          <d2p1:MaterialCosts>0</d2p1:MaterialCosts>
          <d2p1:PercentVat>0</d2p1:PercentVat>
          <d2p1:ProjectId>String</d2p1:ProjectId>
          <d2p1:Quantity>0</d2p1:Quantity>
          <d2p1:Text>String</d2p1:Text>
          <d2p1:UnitAbbreviation>String</d2p1:UnitAbbreviation>
          <d2p1:UnitAbbreviationEnglish>String</d2p1:UnitAbbreviationEnglish>
          <d2p1:UnitId>String</d2p1:UnitId>
          <d2p1:UnitPrice>0</d2p1:UnitPrice>
          <d2p1:WorkCostType>0</d2p1:WorkCostType>
          <d2p1:WorkHours>0</d2p1:WorkHours>
        </d2p1:EAccountingDtos.InvoiceDraftLineQueryResponse>
      </d2p1:Rows>
      <d2p1:TotalAmount>0</d2p1:TotalAmount>
      <d2p1:TotalVatAmount>0</d2p1:TotalVatAmount>
    </d2p1:EAccountingDtos.InvoiceDraftQueryResponse>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ResponseError>
    </Errors>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
  </ResponseStatus>
</QueryResponseOfEAccountingDtos.InvoiceDraftQueryResponseWg5EthtI>