Expense

OData end point to get a list of all expenses accessible by the user

get/api/expense

Request

  • Base URL
    https://api.practicepanther.com
  • URL
    https://api.practicepanther.com/api/expense
  • Auth
    OAuth 2
    Authorization code: /OAuth/Authorize
    Token URL: /OAuth/Token scopes: full

Response

OK

notesstring

Internal notes, Not visible on the invoice.

descriptionstring

Description, visible on the invoice.

datestring date-time required

The date of this expense. It will be added to the invoice and indicated on the reports.

amountnumber double required

The amount, in the account's (contact) currency.

qtynumber double required
totalAmountnumber double
createdDatestring date-time
status'Billable' | 'Billed' | 'Paid' | 'NotBillable'

This is a read only property, will be set on GET requests This is a read only property, will be set on GET requests

costType'SoftCost' | 'HardCost'

Hard costs are expenses incurred on behalf of a client that require a direct payment by the firm to a vendor. For example if a firm writes a check for a court filing fee, it is considered a hard cost. Soft costs are expenses that are charged to the client but a direct payment is not made to a vendor.

guidstring uuid
namestring

Example response

[
  {
    "account": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "accountingAccount": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "project": {
      "guid": "00000000-0000-0000-0000-000000000000",
      "accountGuid": "00000000-0000-0000-0000-000000000000"
    },
    "user": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "createdBy": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "primaryReceipt": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "saleDocumentItem": {
      "saleDocument": {
        "guid": "00000000-0000-0000-0000-000000000000"
      },
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "guid": "00000000-0000-0000-0000-000000000000"
  }
]

Changes

No recorded changes to this operation across all 5 revisions of this API.