WebApi

<back to all web services

InvoiceUploadRequest

The following routes are available for this service:
PUT/enterprise/invoice/uploadBegins upload of a new invoice.Use returned StatusToken to upload line items and close request to complete invoice.
OPTIONS/enterprise/invoice/upload

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/InvoiceUploadRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: text/jsv
Content-Length: length

{
	ClientInvoiceID: 00000000000000000000000000000000,
	BillToVirtualRooftopID: 0,
	RepresentativeID: 0,
	InvoiceNumber: String,
	PONumber: String,
	Notes: String,
	DateInvoiced: 0001-01-01,
	DateClosed: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	StatusTokenID: 00000000000000000000000000000000,
	InvoiceNumber: String,
	ResponseMessageKind: None
}