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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/PeppolInvoice HTTP/1.1 
Host: scanning.modernekonomi.se 
Content-Type: text/jsv
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: text/jsv
Content-Length: length

{
	DeliveryStatus: 0
}