BokaMera.API.Host

<back to all web services

EaccountingInvoiceQuery

The following routes are available for this service:
GET/eaccounting/invoices
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    public static class EaccountingInvoiceQuery extends QueryData<InvoiceQueryResponse> implements ICompany
    {
        public Integer BookingId = null;
        public Boolean Paid = null;
        public Boolean IncludeInvoiceLines = null;
        public Boolean IncludeInvoiceNotes = null;
        public Boolean IncludePaymentTermData = null;
        public Boolean IncludeInvoiceAddress = null;
        public UUID CompanyId = null;
        
        public Integer getBookingId() { return BookingId; }
        public EaccountingInvoiceQuery setBookingId(Integer value) { this.BookingId = value; return this; }
        public Boolean isPaid() { return Paid; }
        public EaccountingInvoiceQuery setPaid(Boolean value) { this.Paid = value; return this; }
        public Boolean isIncludeInvoiceLines() { return IncludeInvoiceLines; }
        public EaccountingInvoiceQuery setIncludeInvoiceLines(Boolean value) { this.IncludeInvoiceLines = value; return this; }
        public Boolean isIncludeInvoiceNotes() { return IncludeInvoiceNotes; }
        public EaccountingInvoiceQuery setIncludeInvoiceNotes(Boolean value) { this.IncludeInvoiceNotes = value; return this; }
        public Boolean isIncludePaymentTermData() { return IncludePaymentTermData; }
        public EaccountingInvoiceQuery setIncludePaymentTermData(Boolean value) { this.IncludePaymentTermData = value; return this; }
        public Boolean isIncludeInvoiceAddress() { return IncludeInvoiceAddress; }
        public EaccountingInvoiceQuery setIncludeInvoiceAddress(Boolean value) { this.IncludeInvoiceAddress = value; return this; }
        public UUID getCompanyId() { return CompanyId; }
        public EaccountingInvoiceQuery setCompanyId(UUID value) { this.CompanyId = value; return this; }
    }

    public static class QueryData<T> extends QueryBase
    {
        
    }

    @DataContract
    public static class QueryBase
    {
        @DataMember(Order=1)
        public Integer Skip = null;

        @DataMember(Order=2)
        public Integer Take = null;

        @DataMember(Order=3)
        public String OrderBy = null;

        @DataMember(Order=4)
        public String OrderByDesc = null;

        @DataMember(Order=5)
        public String Include = null;

        @DataMember(Order=6)
        public String Fields = null;

        @DataMember(Order=7)
        public HashMap<String,String> Meta = null;
        
        public Integer getSkip() { return Skip; }
        public QueryBase setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public QueryBase setTake(Integer value) { this.Take = value; return this; }
        public String getOrderBy() { return OrderBy; }
        public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; }
        public String getOrderByDesc() { return OrderByDesc; }
        public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; }
        public String getInclude() { return Include; }
        public QueryBase setInclude(String value) { this.Include = value; return this; }
        public String getFields() { return Fields; }
        public QueryBase setFields(String value) { this.Fields = value; return this; }
        public HashMap<String,String> getMeta() { return Meta; }
        public QueryBase setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
    }

    public static class InvoiceQueryResponse
    {
        public UUID InvoiceId = null;
        public Date CreatedDate = null;
        public BigDecimal TotalAmount = null;
        public BigDecimal TotalVatAmount = null;
        public String CustomerId = null;
        public ArrayList<InvoiceLineQueryResponse> Rows = new ArrayList<InvoiceLineQueryResponse>();
        public ArrayList<VatSpecificationQueryResponse> VatSpecification = new ArrayList<VatSpecificationQueryResponse>();
        public String InvoiceDate = null;
        public String DueDate = null;
        public Date DeliveryDate = null;
        public ArrayList<Person> Persons = new ArrayList<Person>();
        public String InvoiceCustomerName = null;
        public EAccountingInvoiceAddress InvoiceAddress = null;
        public Boolean CustomerIsPrivatePerson = null;
        public String TermsOfPaymentId = null;
        public EAccountingTermsOfPaymentQueryResponse TermsOfPaymentData = null;
        public String CustomerEmail = null;
        public Integer InvoiceNumber = null;
        public String CustomerNumber = null;
        public ArrayList<NoteQueryResponse> Notes = new ArrayList<NoteQueryResponse>();
        public ArrayList<String> NoteIds = new ArrayList<String>();
        public Date CreatedUtc = null;
        public Date ModifiedUtc = null;
        public Boolean IncludesVat = null;
        public EAccountingInvoiceSendTypes SendType = null;
        public Boolean IsSold = null;
        public Date PaymentDate = null;
        public PaymentStatus PaymentStatus = null;
        public String PaymentStatusTitle = null;
        public ArrayList<CreditedBy> CreditedBy = new ArrayList<CreditedBy>();
        public String PriceSign = null;
        public String BookingId = null;
        
        public UUID getInvoiceId() { return InvoiceId; }
        public InvoiceQueryResponse setInvoiceId(UUID value) { this.InvoiceId = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public InvoiceQueryResponse setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public BigDecimal getTotalAmount() { return TotalAmount; }
        public InvoiceQueryResponse setTotalAmount(BigDecimal value) { this.TotalAmount = value; return this; }
        public BigDecimal getTotalVatAmount() { return TotalVatAmount; }
        public InvoiceQueryResponse setTotalVatAmount(BigDecimal value) { this.TotalVatAmount = value; return this; }
        public String getCustomerId() { return CustomerId; }
        public InvoiceQueryResponse setCustomerId(String value) { this.CustomerId = value; return this; }
        public ArrayList<InvoiceLineQueryResponse> getRows() { return Rows; }
        public InvoiceQueryResponse setRows(ArrayList<InvoiceLineQueryResponse> value) { this.Rows = value; return this; }
        public ArrayList<VatSpecificationQueryResponse> getVatSpecification() { return VatSpecification; }
        public InvoiceQueryResponse setVatSpecification(ArrayList<VatSpecificationQueryResponse> value) { this.VatSpecification = value; return this; }
        public String getInvoiceDate() { return InvoiceDate; }
        public InvoiceQueryResponse setInvoiceDate(String value) { this.InvoiceDate = value; return this; }
        public String getDueDate() { return DueDate; }
        public InvoiceQueryResponse setDueDate(String value) { this.DueDate = value; return this; }
        public Date getDeliveryDate() { return DeliveryDate; }
        public InvoiceQueryResponse setDeliveryDate(Date value) { this.DeliveryDate = value; return this; }
        public ArrayList<Person> getPersons() { return Persons; }
        public InvoiceQueryResponse setPersons(ArrayList<Person> value) { this.Persons = value; return this; }
        public String getInvoiceCustomerName() { return InvoiceCustomerName; }
        public InvoiceQueryResponse setInvoiceCustomerName(String value) { this.InvoiceCustomerName = value; return this; }
        public EAccountingInvoiceAddress getInvoiceAddress() { return InvoiceAddress; }
        public InvoiceQueryResponse setInvoiceAddress(EAccountingInvoiceAddress value) { this.InvoiceAddress = value; return this; }
        public Boolean isCustomerIsPrivatePerson() { return CustomerIsPrivatePerson; }
        public InvoiceQueryResponse setCustomerIsPrivatePerson(Boolean value) { this.CustomerIsPrivatePerson = value; return this; }
        public String getTermsOfPaymentId() { return TermsOfPaymentId; }
        public InvoiceQueryResponse setTermsOfPaymentId(String value) { this.TermsOfPaymentId = value; return this; }
        public EAccountingTermsOfPaymentQueryResponse getTermsOfPaymentData() { return TermsOfPaymentData; }
        public InvoiceQueryResponse setTermsOfPaymentData(EAccountingTermsOfPaymentQueryResponse value) { this.TermsOfPaymentData = value; return this; }
        public String getCustomerEmail() { return CustomerEmail; }
        public InvoiceQueryResponse setCustomerEmail(String value) { this.CustomerEmail = value; return this; }
        public Integer getInvoiceNumber() { return InvoiceNumber; }
        public InvoiceQueryResponse setInvoiceNumber(Integer value) { this.InvoiceNumber = value; return this; }
        public String getCustomerNumber() { return CustomerNumber; }
        public InvoiceQueryResponse setCustomerNumber(String value) { this.CustomerNumber = value; return this; }
        public ArrayList<NoteQueryResponse> getNotes() { return Notes; }
        public InvoiceQueryResponse setNotes(ArrayList<NoteQueryResponse> value) { this.Notes = value; return this; }
        public ArrayList<String> getNoteIds() { return NoteIds; }
        public InvoiceQueryResponse setNoteIds(ArrayList<String> value) { this.NoteIds = value; return this; }
        public Date getCreatedUtc() { return CreatedUtc; }
        public InvoiceQueryResponse setCreatedUtc(Date value) { this.CreatedUtc = value; return this; }
        public Date getModifiedUtc() { return ModifiedUtc; }
        public InvoiceQueryResponse setModifiedUtc(Date value) { this.ModifiedUtc = value; return this; }
        public Boolean isIncludesVat() { return IncludesVat; }
        public InvoiceQueryResponse setIncludesVat(Boolean value) { this.IncludesVat = value; return this; }
        public EAccountingInvoiceSendTypes getSendType() { return SendType; }
        public InvoiceQueryResponse setSendType(EAccountingInvoiceSendTypes value) { this.SendType = value; return this; }
        public Boolean getIsSold() { return IsSold; }
        public InvoiceQueryResponse setIsSold(Boolean value) { this.IsSold = value; return this; }
        public Date getPaymentDate() { return PaymentDate; }
        public InvoiceQueryResponse setPaymentDate(Date value) { this.PaymentDate = value; return this; }
        public PaymentStatus getPaymentStatus() { return PaymentStatus; }
        public InvoiceQueryResponse setPaymentStatus(PaymentStatus value) { this.PaymentStatus = value; return this; }
        public String getPaymentStatusTitle() { return PaymentStatusTitle; }
        public InvoiceQueryResponse setPaymentStatusTitle(String value) { this.PaymentStatusTitle = value; return this; }
        public ArrayList<CreditedBy> getCreditedBy() { return CreditedBy; }
        public InvoiceQueryResponse setCreditedBy(ArrayList<CreditedBy> value) { this.CreditedBy = value; return this; }
        public String getPriceSign() { return PriceSign; }
        public InvoiceQueryResponse setPriceSign(String value) { this.PriceSign = value; return this; }
        public String getBookingId() { return BookingId; }
        public InvoiceQueryResponse setBookingId(String value) { this.BookingId = value; return this; }
    }

    public static class InvoiceLineQueryResponse
    {
        public String ArticleNumber = null;
        public String ArticleId = null;
        public Boolean IsServiceArticle = null;
        public BigDecimal AmountNoVat = null;
        public BigDecimal PercentVat = null;
        public Integer LineNumber = null;
        public Boolean IsTextRow = null;
        public String Text = null;
        public BigDecimal UnitPrice = null;
        public String UnitAbbreviation = null;
        public String UnitAbbreviationEnglish = null;
        public BigDecimal DiscountPercentage = null;
        public Float Quantity = null;
        public Boolean IsWorkCost = null;
        public Boolean IsVatFree = null;
        public String CostCenterItemId1 = null;
        public String CostCenterItemId2 = null;
        public String CostCenterItemId3 = null;
        public String UnitId = null;
        public String ProjectId = null;
        public Integer WorkCostType = null;
        public Float WorkHours = null;
        public BigDecimal MaterialCosts = null;
        public GreenTechnologyType GreenTechnologyType = null;
        public ContributionMargin ContributionMargin = null;
        
        public String getArticleNumber() { return ArticleNumber; }
        public InvoiceLineQueryResponse setArticleNumber(String value) { this.ArticleNumber = value; return this; }
        public String getArticleId() { return ArticleId; }
        public InvoiceLineQueryResponse setArticleId(String value) { this.ArticleId = value; return this; }
        public Boolean getIsServiceArticle() { return IsServiceArticle; }
        public InvoiceLineQueryResponse setIsServiceArticle(Boolean value) { this.IsServiceArticle = value; return this; }
        public BigDecimal getAmountNoVat() { return AmountNoVat; }
        public InvoiceLineQueryResponse setAmountNoVat(BigDecimal value) { this.AmountNoVat = value; return this; }
        public BigDecimal getPercentVat() { return PercentVat; }
        public InvoiceLineQueryResponse setPercentVat(BigDecimal value) { this.PercentVat = value; return this; }
        public Integer getLineNumber() { return LineNumber; }
        public InvoiceLineQueryResponse setLineNumber(Integer value) { this.LineNumber = value; return this; }
        public Boolean getIsTextRow() { return IsTextRow; }
        public InvoiceLineQueryResponse setIsTextRow(Boolean value) { this.IsTextRow = value; return this; }
        public String getText() { return Text; }
        public InvoiceLineQueryResponse setText(String value) { this.Text = value; return this; }
        public BigDecimal getUnitPrice() { return UnitPrice; }
        public InvoiceLineQueryResponse setUnitPrice(BigDecimal value) { this.UnitPrice = value; return this; }
        public String getUnitAbbreviation() { return UnitAbbreviation; }
        public InvoiceLineQueryResponse setUnitAbbreviation(String value) { this.UnitAbbreviation = value; return this; }
        public String getUnitAbbreviationEnglish() { return UnitAbbreviationEnglish; }
        public InvoiceLineQueryResponse setUnitAbbreviationEnglish(String value) { this.UnitAbbreviationEnglish = value; return this; }
        public BigDecimal getDiscountPercentage() { return DiscountPercentage; }
        public InvoiceLineQueryResponse setDiscountPercentage(BigDecimal value) { this.DiscountPercentage = value; return this; }
        public Float getQuantity() { return Quantity; }
        public InvoiceLineQueryResponse setQuantity(Float value) { this.Quantity = value; return this; }
        public Boolean getIsWorkCost() { return IsWorkCost; }
        public InvoiceLineQueryResponse setIsWorkCost(Boolean value) { this.IsWorkCost = value; return this; }
        public Boolean getIsVatFree() { return IsVatFree; }
        public InvoiceLineQueryResponse setIsVatFree(Boolean value) { this.IsVatFree = value; return this; }
        public String getCostCenterItemId1() { return CostCenterItemId1; }
        public InvoiceLineQueryResponse setCostCenterItemId1(String value) { this.CostCenterItemId1 = value; return this; }
        public String getCostCenterItemId2() { return CostCenterItemId2; }
        public InvoiceLineQueryResponse setCostCenterItemId2(String value) { this.CostCenterItemId2 = value; return this; }
        public String getCostCenterItemId3() { return CostCenterItemId3; }
        public InvoiceLineQueryResponse setCostCenterItemId3(String value) { this.CostCenterItemId3 = value; return this; }
        public String getUnitId() { return UnitId; }
        public InvoiceLineQueryResponse setUnitId(String value) { this.UnitId = value; return this; }
        public String getProjectId() { return ProjectId; }
        public InvoiceLineQueryResponse setProjectId(String value) { this.ProjectId = value; return this; }
        public Integer getWorkCostType() { return WorkCostType; }
        public InvoiceLineQueryResponse setWorkCostType(Integer value) { this.WorkCostType = value; return this; }
        public Float getWorkHours() { return WorkHours; }
        public InvoiceLineQueryResponse setWorkHours(Float value) { this.WorkHours = value; return this; }
        public BigDecimal getMaterialCosts() { return MaterialCosts; }
        public InvoiceLineQueryResponse setMaterialCosts(BigDecimal value) { this.MaterialCosts = value; return this; }
        public GreenTechnologyType getGreenTechnologyType() { return GreenTechnologyType; }
        public InvoiceLineQueryResponse setGreenTechnologyType(GreenTechnologyType value) { this.GreenTechnologyType = value; return this; }
        public ContributionMargin getContributionMargin() { return ContributionMargin; }
        public InvoiceLineQueryResponse setContributionMargin(ContributionMargin value) { this.ContributionMargin = value; return this; }
    }

    public static enum GreenTechnologyType
    {
        None,
        SolarCellInstallation,
        ElectricEnergyStorageInstallation,
        ElectricVehicleChargingPointInstallation;
    }

    public static class ContributionMargin
    {
        public Integer Amount = null;
        public Integer Percentage = null;
        
        public Integer getAmount() { return Amount; }
        public ContributionMargin setAmount(Integer value) { this.Amount = value; return this; }
        public Integer getPercentage() { return Percentage; }
        public ContributionMargin setPercentage(Integer value) { this.Percentage = value; return this; }
    }

    public static class VatSpecificationQueryResponse
    {
        public BigDecimal AmountInvoiceCurrency = null;
        public BigDecimal VatAmountInvoiceCurrency = null;
        public BigDecimal VatPercent = null;
        
        public BigDecimal getAmountInvoiceCurrency() { return AmountInvoiceCurrency; }
        public VatSpecificationQueryResponse setAmountInvoiceCurrency(BigDecimal value) { this.AmountInvoiceCurrency = value; return this; }
        public BigDecimal getVatAmountInvoiceCurrency() { return VatAmountInvoiceCurrency; }
        public VatSpecificationQueryResponse setVatAmountInvoiceCurrency(BigDecimal value) { this.VatAmountInvoiceCurrency = value; return this; }
        public BigDecimal getVatPercent() { return VatPercent; }
        public VatSpecificationQueryResponse setVatPercent(BigDecimal value) { this.VatPercent = value; return this; }
    }

    public static class Person
    {
        public String Ssn = null;
        public Integer Amount = null;
        
        public String getSsn() { return Ssn; }
        public Person setSsn(String value) { this.Ssn = value; return this; }
        public Integer getAmount() { return Amount; }
        public Person setAmount(Integer value) { this.Amount = value; return this; }
    }

    public static class EAccountingInvoiceAddress
    {
        public String CorporateIdentityNumber = null;
        public String InvoiceAddress1 = null;
        public String InvoiceAddress2 = null;
        public String InvoiceCity = null;
        public String InvoicePostalCode = null;
        public String InvoiceCountryCode = null;
        
        public String getCorporateIdentityNumber() { return CorporateIdentityNumber; }
        public EAccountingInvoiceAddress setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; }
        public String getInvoiceAddress1() { return InvoiceAddress1; }
        public EAccountingInvoiceAddress setInvoiceAddress1(String value) { this.InvoiceAddress1 = value; return this; }
        public String getInvoiceAddress2() { return InvoiceAddress2; }
        public EAccountingInvoiceAddress setInvoiceAddress2(String value) { this.InvoiceAddress2 = value; return this; }
        public String getInvoiceCity() { return InvoiceCity; }
        public EAccountingInvoiceAddress setInvoiceCity(String value) { this.InvoiceCity = value; return this; }
        public String getInvoicePostalCode() { return InvoicePostalCode; }
        public EAccountingInvoiceAddress setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; }
        public String getInvoiceCountryCode() { return InvoiceCountryCode; }
        public EAccountingInvoiceAddress setInvoiceCountryCode(String value) { this.InvoiceCountryCode = value; return this; }
    }

    public static class EAccountingTermsOfPaymentQueryResponse
    {
        public String Id = null;
        public String Name = null;
        public String NameEnglish = null;
        public Integer NumberOfDays = null;
        public Integer TermsOfPaymentTypeId = null;
        public String TermsOfPaymentTypeText = null;
        public Boolean AvailableForSales = null;
        public Boolean AvailableForPurchase = null;
        
        public String getId() { return Id; }
        public EAccountingTermsOfPaymentQueryResponse setId(String value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public EAccountingTermsOfPaymentQueryResponse setName(String value) { this.Name = value; return this; }
        public String getNameEnglish() { return NameEnglish; }
        public EAccountingTermsOfPaymentQueryResponse setNameEnglish(String value) { this.NameEnglish = value; return this; }
        public Integer getNumberOfDays() { return NumberOfDays; }
        public EAccountingTermsOfPaymentQueryResponse setNumberOfDays(Integer value) { this.NumberOfDays = value; return this; }
        public Integer getTermsOfPaymentTypeId() { return TermsOfPaymentTypeId; }
        public EAccountingTermsOfPaymentQueryResponse setTermsOfPaymentTypeId(Integer value) { this.TermsOfPaymentTypeId = value; return this; }
        public String getTermsOfPaymentTypeText() { return TermsOfPaymentTypeText; }
        public EAccountingTermsOfPaymentQueryResponse setTermsOfPaymentTypeText(String value) { this.TermsOfPaymentTypeText = value; return this; }
        public Boolean isAvailableForSales() { return AvailableForSales; }
        public EAccountingTermsOfPaymentQueryResponse setAvailableForSales(Boolean value) { this.AvailableForSales = value; return this; }
        public Boolean isAvailableForPurchase() { return AvailableForPurchase; }
        public EAccountingTermsOfPaymentQueryResponse setAvailableForPurchase(Boolean value) { this.AvailableForPurchase = value; return this; }
    }

    public static class NoteQueryResponse
    {
        public String Id = null;
        public String Text = null;
        public Date CreatedUtc = null;
        public Date ModifiedUtc = null;
        
        public String getId() { return Id; }
        public NoteQueryResponse setId(String value) { this.Id = value; return this; }
        public String getText() { return Text; }
        public NoteQueryResponse setText(String value) { this.Text = value; return this; }
        public Date getCreatedUtc() { return CreatedUtc; }
        public NoteQueryResponse setCreatedUtc(Date value) { this.CreatedUtc = value; return this; }
        public Date getModifiedUtc() { return ModifiedUtc; }
        public NoteQueryResponse setModifiedUtc(Date value) { this.ModifiedUtc = value; return this; }
    }

    public static enum EAccountingInvoiceSendTypes
    {
        None,
        AutoInvoiceElectronic,
        AutoInvoicePrint,
        AutoInvoiceB2C;
    }

    public static enum PaymentStatus
    {
        Paid,
        Unpaid,
        Overdue;
    }

    public static class CreditedBy
    {
        public String CreditInvoiceId = null;
        
        public String getCreditInvoiceId() { return CreditInvoiceId; }
        public CreditedBy setCreditInvoiceId(String value) { this.CreditInvoiceId = value; return this; }
    }

    @DataContract
    public static class QueryResponse<T>
    {
        @DataMember(Order=1)
        public Integer Offset = null;

        @DataMember(Order=2)
        public Integer Total = null;

        @DataMember(Order=3)
        public ArrayList<AccessKeyTypeResponse> Results = new ArrayList<AccessKeyTypeResponse>();

        @DataMember(Order=4)
        public HashMap<String,String> Meta = null;

        @DataMember(Order=5)
        public ResponseStatus ResponseStatus = null;
        
        public Integer getOffset() { return Offset; }
        public QueryResponse<T> setOffset(Integer value) { this.Offset = value; return this; }
        public Integer getTotal() { return Total; }
        public QueryResponse<T> setTotal(Integer value) { this.Total = value; return this; }
        public ArrayList<AccessKeyTypeResponse> getResults() { return Results; }
        public QueryResponse<T> setResults(ArrayList<AccessKeyTypeResponse> value) { this.Results = value; return this; }
        public HashMap<String,String> getMeta() { return Meta; }
        public QueryResponse<T> setMeta(HashMap<String,String> value) { this.Meta = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public QueryResponse<T> setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class AccessKeyTypeResponse
    {
        public Integer Id = null;
        public String KeyType = null;
        public String Description = null;
        
        public Integer getId() { return Id; }
        public AccessKeyTypeResponse setId(Integer value) { this.Id = value; return this; }
        public String getKeyType() { return KeyType; }
        public AccessKeyTypeResponse setKeyType(String value) { this.KeyType = value; return this; }
        public String getDescription() { return Description; }
        public AccessKeyTypeResponse setDescription(String value) { this.Description = value; return this; }
    }

}

Java EaccountingInvoiceQuery 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/invoices HTTP/1.1 
Host: api.bokamera.se 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfEAccountingDtos.InvoiceQueryResponseWg5EthtI 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.InvoiceQueryResponse>
      <d2p1:BookingId>String</d2p1:BookingId>
      <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
      <d2p1:CreatedUtc>0001-01-01T00:00:00</d2p1:CreatedUtc>
      <d2p1:CreditedBy>
        <d2p1:EAccountingClientDtos.CreditedBy>
          <d2p1:CreditInvoiceId>String</d2p1:CreditInvoiceId>
        </d2p1:EAccountingClientDtos.CreditedBy>
      </d2p1:CreditedBy>
      <d2p1:CustomerEmail>String</d2p1:CustomerEmail>
      <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:InvoiceNumber>0</d2p1:InvoiceNumber>
      <d2p1:IsSold>false</d2p1:IsSold>
      <d2p1:ModifiedUtc>0001-01-01T00:00:00</d2p1:ModifiedUtc>
      <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:PaymentDate>0001-01-01T00:00:00</d2p1:PaymentDate>
      <d2p1:PaymentStatus>Paid</d2p1:PaymentStatus>
      <d2p1:PaymentStatusTitle>String</d2p1:PaymentStatusTitle>
      <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.InvoiceLineQueryResponse>
          <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.InvoiceLineQueryResponse>
      </d2p1:Rows>
      <d2p1:SendType>None</d2p1:SendType>
      <d2p1:TermsOfPaymentData>
        <d2p1:AvailableForPurchase>false</d2p1:AvailableForPurchase>
        <d2p1:AvailableForSales>false</d2p1:AvailableForSales>
        <d2p1:Id>String</d2p1:Id>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:NameEnglish>String</d2p1:NameEnglish>
        <d2p1:NumberOfDays>0</d2p1:NumberOfDays>
        <d2p1:TermsOfPaymentTypeId>0</d2p1:TermsOfPaymentTypeId>
        <d2p1:TermsOfPaymentTypeText>String</d2p1:TermsOfPaymentTypeText>
      </d2p1:TermsOfPaymentData>
      <d2p1:TermsOfPaymentId>String</d2p1:TermsOfPaymentId>
      <d2p1:TotalAmount>0</d2p1:TotalAmount>
      <d2p1:TotalVatAmount>0</d2p1:TotalVatAmount>
      <d2p1:VatSpecification>
        <d2p1:EAccountingDtos.VatSpecificationQueryResponse>
          <d2p1:AmountInvoiceCurrency>0</d2p1:AmountInvoiceCurrency>
          <d2p1:VatAmountInvoiceCurrency>0</d2p1:VatAmountInvoiceCurrency>
          <d2p1:VatPercent>0</d2p1:VatPercent>
        </d2p1:EAccountingDtos.VatSpecificationQueryResponse>
      </d2p1:VatSpecification>
    </d2p1:EAccountingDtos.InvoiceQueryResponse>
  </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.InvoiceQueryResponseWg5EthtI>