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 /invoice/order HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ListInvoiceOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Invoice.Query">
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Invoice.Model" xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.GlobalDto.Base">
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d2p1:Currency>String</d2p1:Currency>
<d2p1:CurrencyId>0</d2p1:CurrencyId>
<d2p1:Description>String</d2p1:Description>
<d2p1:Gross>0</d2p1:Gross>
<d2p1:Invoices>
<d2p1:InvoiceDto>
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d2p1:AdditionalRemarks>String</d2p1:AdditionalRemarks>
<d2p1:Attachments xmlns:d5p1="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.File.Model">
<d5p1:FileDocumentDto>
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d5p1:CostInvoiceId>0</d5p1:CostInvoiceId>
<d5p1:FileGuid>String</d5p1:FileGuid>
<d5p1:FileName>String</d5p1:FileName>
<d5p1:FileSize>0</d5p1:FileSize>
<d5p1:FileType>String</d5p1:FileType>
<d5p1:InvoiceId>0</d5p1:InvoiceId>
<d5p1:ObjectId>0</d5p1:ObjectId>
<d5p1:ObjectTypeId>0</d5p1:ObjectTypeId>
<d5p1:ObjectTypeName>String</d5p1:ObjectTypeName>
<d5p1:OcrResponse>
<d5p1:BankAccount>String</d5p1:BankAccount>
<d5p1:BankName>String</d5p1:BankName>
<d5p1:BuyerLocalNr>String</d5p1:BuyerLocalNr>
<d5p1:BuyerName>String</d5p1:BuyerName>
<d5p1:BuyerNip>String</d5p1:BuyerNip>
<d5p1:BuyerPlace>String</d5p1:BuyerPlace>
<d5p1:BuyerStreetName>String</d5p1:BuyerStreetName>
<d5p1:BuyerStreetNr>String</d5p1:BuyerStreetNr>
<d5p1:BuyerZipCode>String</d5p1:BuyerZipCode>
<d5p1:DateOfIssue>String</d5p1:DateOfIssue>
<d5p1:DateOfPayment>String</d5p1:DateOfPayment>
<d5p1:NrInvoice>String</d5p1:NrInvoice>
<d5p1:Positions i:nil="true" />
<d5p1:SaleDate>String</d5p1:SaleDate>
<d5p1:SellerLocalNr>String</d5p1:SellerLocalNr>
<d5p1:SellerName>String</d5p1:SellerName>
<d5p1:SellerNip>String</d5p1:SellerNip>
<d5p1:SellerPlace>String</d5p1:SellerPlace>
<d5p1:SellerStreetName>String</d5p1:SellerStreetName>
<d5p1:SellerStreetNr>String</d5p1:SellerStreetNr>
<d5p1:SellerZipCode>String</d5p1:SellerZipCode>
<d5p1:SummaryGross>String</d5p1:SummaryGross>
<d5p1:SummaryNetto>String</d5p1:SummaryNetto>
<d5p1:SummaryVat>String</d5p1:SummaryVat>
</d5p1:OcrResponse>
<d5p1:OcrStatus>None</d5p1:OcrStatus>
<d5p1:ParentFolderId>0</d5p1:ParentFolderId>
<d5p1:ProcessId>String</d5p1:ProcessId>
<d5p1:StatusId>0</d5p1:StatusId>
<d5p1:StatusName>String</d5p1:StatusName>
</d5p1:FileDocumentDto>
</d2p1:Attachments>
<d2p1:BasePrice>0</d2p1:BasePrice>
<d2p1:CategoryId>0</d2p1:CategoryId>
<d2p1:CategoryName>String</d2p1:CategoryName>
<d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate>
<d2p1:Currency>String</d2p1:Currency>
<d2p1:CurrencyId>0</d2p1:CurrencyId>
<d2p1:Discount>0</d2p1:Discount>
<d2p1:Gross>0</d2p1:Gross>
<d2p1:InvSrcId>0</d2p1:InvSrcId>
<d2p1:InvSrcNumber>String</d2p1:InvSrcNumber>
<d2p1:InvoiceOrderId>0</d2p1:InvoiceOrderId>
<d2p1:InvoicePosition>
<d2p1:InvoicePositionDto>
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d2p1:Code>String</d2p1:Code>
<d2p1:Currency>String</d2p1:Currency>
<d2p1:CurrencyId>0</d2p1:CurrencyId>
<d2p1:Gross>0</d2p1:Gross>
<d2p1:InvoiceId>0</d2p1:InvoiceId>
<d2p1:IsBefore>false</d2p1:IsBefore>
<d2p1:IsDeleted>false</d2p1:IsDeleted>
<d2p1:IsUpdated>false</d2p1:IsUpdated>
<d2p1:Name>String</d2p1:Name>
<d2p1:Netto>0</d2p1:Netto>
<d2p1:PosCorrId>0</d2p1:PosCorrId>
<d2p1:ProductId>0</d2p1:ProductId>
<d2p1:Quantity>0</d2p1:Quantity>
<d2p1:Unit>String</d2p1:Unit>
<d2p1:UnitId>0</d2p1:UnitId>
<d2p1:UnitPrice>0</d2p1:UnitPrice>
<d2p1:Vat23>0</d2p1:Vat23>
<d2p1:Vat5>0</d2p1:Vat5>
<d2p1:Vat8>0</d2p1:Vat8>
<d2p1:VatTypeId>0</d2p1:VatTypeId>
</d2p1:InvoicePositionDto>
</d2p1:InvoicePosition>
<d2p1:InvoicesDependent>
<d2p1:InvoiceDependDto>
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d2p1:InvoiceId>0</d2p1:InvoiceId>
<d2p1:InvoiceSrcGross>0</d2p1:InvoiceSrcGross>
<d2p1:InvoiceSrcId>0</d2p1:InvoiceSrcId>
<d2p1:InvoiceSrcNetto>0</d2p1:InvoiceSrcNetto>
<d2p1:InvoiceSrcNumber>String</d2p1:InvoiceSrcNumber>
<d2p1:InvoiceSrcSellDate>0001-01-01T00:00:00</d2p1:InvoiceSrcSellDate>
<d2p1:InvoiceSrcVat23>0</d2p1:InvoiceSrcVat23>
<d2p1:InvoiceSrcVat5>0</d2p1:InvoiceSrcVat5>
<d2p1:InvoiceSrcVat8>0</d2p1:InvoiceSrcVat8>
</d2p1:InvoiceDependDto>
</d2p1:InvoicesDependent>
<d2p1:IsFromOcr>false</d2p1:IsFromOcr>
<d2p1:IsMarkedClear>false</d2p1:IsMarkedClear>
<d2p1:IsPaymentDivided>false</d2p1:IsPaymentDivided>
<d2p1:IsReceiverDiffrent>false</d2p1:IsReceiverDiffrent>
<d2p1:IsReverseCharged>false</d2p1:IsReverseCharged>
<d2p1:JpkDocTypeCode>String</d2p1:JpkDocTypeCode>
<d2p1:JpkDocTypeId>0</d2p1:JpkDocTypeId>
<d2p1:JpkDocTypeName>String</d2p1:JpkDocTypeName>
<d2p1:JpkItemCodeCode>String</d2p1:JpkItemCodeCode>
<d2p1:JpkItemCodeId>0</d2p1:JpkItemCodeId>
<d2p1:JpkItemCodeName>String</d2p1:JpkItemCodeName>
<d2p1:ListJpkProcedure xmlns:d5p1="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.InvoiceJPK.Model">
<d5p1:InvoiceJpkProcedureDto>
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d5p1:Code>String</d5p1:Code>
<d5p1:Name>String</d5p1:Name>
</d5p1:InvoiceJpkProcedureDto>
</d2p1:ListJpkProcedure>
<d2p1:ListJpkProcedureId xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:unsignedInt>0</d5p1:unsignedInt>
</d2p1:ListJpkProcedureId>
<d2p1:MarginReason>String</d2p1:MarginReason>
<d2p1:MarginReasonId>0</d2p1:MarginReasonId>
<d2p1:Netto>0</d2p1:Netto>
<d2p1:NettoAdvFinal>0</d2p1:NettoAdvFinal>
<d2p1:Number>String</d2p1:Number>
<d2p1:OrderNumber>String</d2p1:OrderNumber>
<d2p1:Paid>0</d2p1:Paid>
<d2p1:PaymentDueDate>0001-01-01T00:00:00</d2p1:PaymentDueDate>
<d2p1:PaymentTerms>0</d2p1:PaymentTerms>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:PaymentTypeId>0</d2p1:PaymentTypeId>
<d2p1:PrivateNote>String</d2p1:PrivateNote>
<d2p1:Rate>0</d2p1:Rate>
<d2p1:RateDate>0001-01-01T00:00:00</d2p1:RateDate>
<d2p1:RecBankAccountNb>String</d2p1:RecBankAccountNb>
<d2p1:RecBankName>String</d2p1:RecBankName>
<d2p1:RecCatId>0</d2p1:RecCatId>
<d2p1:RecCountry>String</d2p1:RecCountry>
<d2p1:RecCountryId>0</d2p1:RecCountryId>
<d2p1:RecEmail>String</d2p1:RecEmail>
<d2p1:RecFlatNumber>String</d2p1:RecFlatNumber>
<d2p1:RecId>0</d2p1:RecId>
<d2p1:RecIsActual>false</d2p1:RecIsActual>
<d2p1:RecIsoCountry>String</d2p1:RecIsoCountry>
<d2p1:RecName>String</d2p1:RecName>
<d2p1:RecPhone>String</d2p1:RecPhone>
<d2p1:RecPostalCode>String</d2p1:RecPostalCode>
<d2p1:RecStreetName>String</d2p1:RecStreetName>
<d2p1:RecStreetNumber>String</d2p1:RecStreetNumber>
<d2p1:RecTown>String</d2p1:RecTown>
<d2p1:RecTypeId>0</d2p1:RecTypeId>
<d2p1:RecVatId>String</d2p1:RecVatId>
<d2p1:ReceiverBankAccountNb>String</d2p1:ReceiverBankAccountNb>
<d2p1:ReceiverBankName>String</d2p1:ReceiverBankName>
<d2p1:ReceiverCatId>0</d2p1:ReceiverCatId>
<d2p1:ReceiverCountry>String</d2p1:ReceiverCountry>
<d2p1:ReceiverCountryId>0</d2p1:ReceiverCountryId>
<d2p1:ReceiverEmail>String</d2p1:ReceiverEmail>
<d2p1:ReceiverFlatNumber>String</d2p1:ReceiverFlatNumber>
<d2p1:ReceiverId>0</d2p1:ReceiverId>
<d2p1:ReceiverIsActual>false</d2p1:ReceiverIsActual>
<d2p1:ReceiverIsoCountry>String</d2p1:ReceiverIsoCountry>
<d2p1:ReceiverName>String</d2p1:ReceiverName>
<d2p1:ReceiverPhone>String</d2p1:ReceiverPhone>
<d2p1:ReceiverPostalCode>String</d2p1:ReceiverPostalCode>
<d2p1:ReceiverStreetName>String</d2p1:ReceiverStreetName>
<d2p1:ReceiverStreetNumber>String</d2p1:ReceiverStreetNumber>
<d2p1:ReceiverTown>String</d2p1:ReceiverTown>
<d2p1:ReceiverTypeId>0</d2p1:ReceiverTypeId>
<d2p1:ReceiverVatId>String</d2p1:ReceiverVatId>
<d2p1:RecipientName>String</d2p1:RecipientName>
<d2p1:Remarks>String</d2p1:Remarks>
<d2p1:SchemaId>0</d2p1:SchemaId>
<d2p1:SellBankAccountNb>String</d2p1:SellBankAccountNb>
<d2p1:SellBankName>String</d2p1:SellBankName>
<d2p1:SellDate>0001-01-01T00:00:00</d2p1:SellDate>
<d2p1:SellFlatNumber>String</d2p1:SellFlatNumber>
<d2p1:SellName>String</d2p1:SellName>
<d2p1:SellPostalCode>String</d2p1:SellPostalCode>
<d2p1:SellStreetName>String</d2p1:SellStreetName>
<d2p1:SellStreetNumber>String</d2p1:SellStreetNumber>
<d2p1:SellTown>String</d2p1:SellTown>
<d2p1:SellVatId>String</d2p1:SellVatId>
<d2p1:Status>String</d2p1:Status>
<d2p1:StatusId>0</d2p1:StatusId>
<d2p1:SupplierName>String</d2p1:SupplierName>
<d2p1:Swift>String</d2p1:Swift>
<d2p1:ToPaid>0</d2p1:ToPaid>
<d2p1:Town>String</d2p1:Town>
<d2p1:TypeId>0</d2p1:TypeId>
<d2p1:TypeName>String</d2p1:TypeName>
<d2p1:Vat23>0</d2p1:Vat23>
<d2p1:Vat5>0</d2p1:Vat5>
<d2p1:Vat8>0</d2p1:Vat8>
<d2p1:VatBase>0</d2p1:VatBase>
</d2p1:InvoiceDto>
</d2p1:Invoices>
<d2p1:Netto>0</d2p1:Netto>
<d2p1:Positions xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.InvoiceOrder.Model">
<d3p1:InvoiceOrderPositionDto>
<CreatedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</CreatedById>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</CreatedDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</Id>
<ModifiedById xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0</ModifiedById>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Base">0001-01-01T00:00:00</ModifiedDate>
<d3p1:Code>String</d3p1:Code>
<d3p1:Currency>String</d3p1:Currency>
<d3p1:CurrencyId>0</d3p1:CurrencyId>
<d3p1:Gross>0</d3p1:Gross>
<d3p1:InvoicerOrderId>0</d3p1:InvoicerOrderId>
<d3p1:IsDeleted>false</d3p1:IsDeleted>
<d3p1:IsUpdated>false</d3p1:IsUpdated>
<d3p1:Name>String</d3p1:Name>
<d3p1:Netto>0</d3p1:Netto>
<d3p1:ProductId>0</d3p1:ProductId>
<d3p1:Quantity>0</d3p1:Quantity>
<d3p1:Unit>String</d3p1:Unit>
<d3p1:UnitId>0</d3p1:UnitId>
<d3p1:UnitPrice>0</d3p1:UnitPrice>
<d3p1:Vat23>0</d3p1:Vat23>
<d3p1:Vat5>0</d3p1:Vat5>
<d3p1:Vat8>0</d3p1:Vat8>
<d3p1:VatTypeId>0</d3p1:VatTypeId>
</d3p1:InvoiceOrderPositionDto>
</d2p1:Positions>
<d2p1:RecBankAccountNb>String</d2p1:RecBankAccountNb>
<d2p1:RecBankName>String</d2p1:RecBankName>
<d2p1:RecCatId>0</d2p1:RecCatId>
<d2p1:RecCountry>String</d2p1:RecCountry>
<d2p1:RecCountryId>0</d2p1:RecCountryId>
<d2p1:RecEmail>String</d2p1:RecEmail>
<d2p1:RecFlatNumber>String</d2p1:RecFlatNumber>
<d2p1:RecId>0</d2p1:RecId>
<d2p1:RecIsActual>false</d2p1:RecIsActual>
<d2p1:RecIsoCountry>String</d2p1:RecIsoCountry>
<d2p1:RecName>String</d2p1:RecName>
<d2p1:RecPhone>String</d2p1:RecPhone>
<d2p1:RecPostalCode>String</d2p1:RecPostalCode>
<d2p1:RecStreetName>String</d2p1:RecStreetName>
<d2p1:RecStreetNumber>String</d2p1:RecStreetNumber>
<d2p1:RecTown>String</d2p1:RecTown>
<d2p1:RecVatId>String</d2p1:RecVatId>
<d2p1:TotalGross>0</d2p1:TotalGross>
<d2p1:TotalNetto>0</d2p1:TotalNetto>
<d2p1:TotalVat23>0</d2p1:TotalVat23>
<d2p1:TotalVat5>0</d2p1:TotalVat5>
<d2p1:TotalVat8>0</d2p1:TotalVat8>
<d2p1:Vat23>0</d2p1:Vat23>
<d2p1:Vat5>0</d2p1:Vat5>
<d2p1:Vat8>0</d2p1:Vat8>
</Result>
<MultipleResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cloud.Globals.ServiceUtils.GlobalDto.Invoice.Model" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.GlobalDto.Base" />
<Offset xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.GlobalDto.Base">0</Offset>
<Total xmlns="http://schemas.datacontract.org/2004/07/Cloud.Globals.GlobalDto.Base">0</Total>
</ListInvoiceOrderResponse>