Invoice.Get
Try it in Swagger
Endpoint
- Method:
GET
- Route:
Invoice/Get/{workOrder}
- Authentication:
Authorize
Request Schema
| Header |
Required |
Notes |
X-Api-Key |
Required when tenant is not resolved by subdomain |
Resolves the tenant/customer database. |
Authorization: Bearer {token} |
Required for authorized endpoints |
Get a token from Auth/Token or Session/Create. |
Path Parameters
| Field |
Type |
Required |
Notes |
workOrder |
string |
Yes |
Route segment. |
This endpoint does not accept a JSON request body.
Expected Response Schema
Status Codes
| Status |
Notes |
200 OK |
Returned by the controller for this operation. |
Success Body
Response type: InvoiceDetailDto
| Field |
Type |
Max Length |
Notes |
workOrder |
string |
|
|
details |
List<InvoiceLineItemDto> |
|
|
Response Sample
{
"workOrder": "C123456",
"details": [
{
"title": "Service of Process",
"amount": 95.00
},
{
"title": "Mileage",
"amount": 12.50
}
],
"invoiceTotal": 107.50
}