Create expense by listing

This resource is only available to subscribers of the feature, as it is a paid add-on.

Create a PMC expense for a listing (PMC pays the vendor). The listing is taken from expenseShare.listingId, so send expenseShare to attach the expense to a listing — omitting it records the expense on the PMC alone, with no listing. expenseShare.shareSplit sets the owner portion: 0 keeps the full amount on the PMC while still attaching the listing, and a value between 0 and 1 charges that portion to the owner(s) — to expenseShare.ownerId when provided, otherwise spread across all owners of the listing.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 255

Expense name

string
enum

Charge category

string

You can get your Category ID here

string
required
length ≤ 255

Expense description. Max length is 255 characters

number
required

Expense amount, account currency will be used

string
required

Expense recognition date in the account timezone. ISO 8601 Date format (year-month-day)

string
required

You can get your vendor ID here

string
length ≤ 255

A unique identifier that serves as a reference to an external object. This ID can be used to link the current resource to a related entity in another system

expenseShare
object

Attaches the expense to a listing via listingId and sets how much of it is charged to the owner(s). Omit to keep the whole expense on the PMC with no listing attached

attachments
array of objects

Add attachments to expense

attachments
Responses
201

Expense created

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json