Hello Web Services

<back to all web services

PeppolInvoice

The following routes are available for this service:
POST/api/peppol/invoice

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/PeppolInvoice HTTP/1.1 
Host: dinumero.modernekonomi.se 
Content-Type: application/json
Content-Length: length

{"Client":{"Gid":"00000000000000000000000000000000","OrgNr":"String","Name":"String","LocalInstanceId":0},"Xml":"String","Tiff":"String","Ocr":"String","Id":"00000000000000000000000000000000","FromAddress":"String","ToAddress":"String","Data":{"SenderOrgNr":0,"Currency":"String","InclVat":0,"Vat":0,"InvoiceDate":"0001-01-01T00:00:00.0000000+00:00","DueDate":"0001-01-01T00:00:00.0000000+00:00","InvoiceNr":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"DeliveryStatus":0}