POST api/Invoices/{sourceSystem}/{externalReference1}/InvoiceFile?extension={extension}
Used to upload a scanned copy of an invoice to the service.
Required Headers:
Authorization:
Depending on Website configuration use either
Basic Http Authorization with valid Sertica credentials
or
Windows Authentication (Negotiate) with either NTLM or Kerberos tickets
Content-Type: image/tiff and application/pdf are currently only supported file formats if extension is null
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sourceSystem |
The Source System that created the invoice, sent as SourceSystem value when sending data |
string |
Required |
| externalReference1 |
The external identifier in source system of the scanned invoice, sent as ExternalReference1 when sending data |
string |
Required |
| extension |
Adding extension will override the header Content-Type and create the document with that extension |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |