HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/SupplierInvoiceRequest HTTP/1.1
Host: dinumero.modernekonomi.se
Content-Type: application/xml
Content-Length: length
<SupplierInvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.SupplierInvoice">
<Id>0</Id>
</SupplierInvoiceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SupplierInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.SupplierInvoice">
<Attesterad>Aktiv</Attesterad>
<BookDate>0001-01-01T00:00:00</BookDate>
<DueDate>0001-01-01T00:00:00</DueDate>
<EjBetalFil>false</EjBetalFil>
<ExportId>0</ExportId>
<Exporterad>Ankomst</Exporterad>
<Godkand>Ja</Godkand>
<Id>0</Id>
<InvoiceDate>0001-01-01T00:00:00</InvoiceDate>
<InvoiceNr>String</InvoiceNr>
<Kapital>
<KapitalInkl>0</KapitalInkl>
<Kurs>0</Kurs>
<Moms>0</Moms>
<ValutaKod>String</ValutaKod>
</Kapital>
<Konterad>Ja</Konterad>
<KonteringsRader i:nil="true" />
<LopNr>0</LopNr>
<OcrNr>String</OcrNr>
<Supplier>
<Id>0</Id>
<LevId>String</LevId>
<Name>String</Name>
</Supplier>
<SupplierId>0</SupplierId>
</SupplierInvoice>