POST api/Invoices/{externalReference1}/InvoiceFile

Used to upload a scanned copy of an invoice to the service.

Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials
Content-Type: image/tiff and application/pdf are currently only supported file formats

Returns:
200 OK - If invoice is found ready for import and the supplied mimetype of the document is supported
400 BadRequest - If an invoice can't be found with supplied externalReference, or the mime type isn't supported
401 Unauthorized - If credentials are invalid
404 NotFound - If invoice with externalReference1 is not found

Request Information

URI Parameters

NameDescriptionTypeAdditional information
externalReference1

The external identifier in source system of the scanned invoice, sent as ExternalReference1 when sending data

string

Required

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.