post
https://open-api.guesty.com/v1/business-models-api/transactions/expenses-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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201Expense created