POST api/PostInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | integer |
Required |
|
| ViperInvoiceID | integer |
None. |
|
| InvoiceNo | string |
Required String length: inclusive between 0 and 50 |
|
| Statement | integer |
None. |
|
| Date | date |
None. |
|
| Customer | integer |
None. |
|
| TotalValue | decimal number |
None. |
|
| Status | string |
String length: inclusive between 0 and 1 |
|
| Notes | string |
None. |
|
| Reconciled | boolean |
Required |
|
| InvoiceDocument | string |
None. |
|
| InvoiceDocumentFileName | string |
None. |
|
| CustomerPODsPDF | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": 1,
"ViperInvoiceID": 1,
"InvoiceNo": "sample string 2",
"Statement": 1,
"Date": "2025-12-06T16:00:12.6069657+10:30",
"Customer": 1,
"TotalValue": 1.0,
"Status": "sample string 3",
"Notes": "sample string 4",
"Reconciled": true,
"InvoiceDocument": "sample string 6",
"InvoiceDocumentFileName": "sample string 7",
"CustomerPODsPDF": "QEA="
}
application/xml, text/xml
Sample:
<InvoiceDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ClientID>1</ClientID> <ViperInvoiceID>1</ViperInvoiceID> <InvoiceNo>sample string 2</InvoiceNo> <Statement>1</Statement> <Date>2025-12-06T16:00:12.6069657+10:30</Date> <Customer>1</Customer> <TotalValue>1</TotalValue> <Status>sample string 3</Status> <Notes>sample string 4</Notes> <Reconciled>true</Reconciled> <InvoiceDocument>sample string 6</InvoiceDocument> <InvoiceDocumentFileName>sample string 7</InvoiceDocumentFileName> <CustomerPODsPDF>QEA=</CustomerPODsPDF> </InvoiceDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.