Creates a expense record in matteroTM using the provided JSON body.
POST https://my.mattero.com.au/public/api/v1/expense-records
Name | Location | Type | Description |
---|---|---|---|
costCode | Body | string: required | The cost code to assign this cost record to |
associatedMatterId | Body | string: required | A reference to the associated matter |
staffContactId | Body | string: required | A reference to the assigned staff members' contact record |
amountExclTax | Body | number: required | Total amount (excl. GST) |
date | Body | Date: optional | Date of the cost record |
description | Body | string: optional | The description entered for the cost record |
gstAmountOverride | Body | string: optional | Override the automatically calculated GST amount |
attachments | Body | FormFile[]: optional | A list of file to attach on the expense record |
{
"id": "1701-A",
"name": "Matter 254: Travel"
}
EntityReference object
Name | Type | Description |
---|---|---|
id | string | The unique identifier of the entity |
name | string | The name associated with the entity |
Code | Summary | Description |
---|---|---|
200 | Ok | The request was successful with a body in the response. |
400 | Bad Request | The request failed validation checks. |
401 | Unauthorized | Failed authentication check. |
403 | Forbidden | Failed authorization check. |