v1
latestOpenAPI 3.0.32026-07-2632131.4 MBAccounting (only available for accounting add-on users)
Create owner charges by listing
Create an owner charge for the provided listing. This will apply to all owners unless you include a given ownerId.
post/business-models-api/transactions/owner-charges-by-listing
Request body
Example request
{
"name": "Furniture repairment",
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"description": "Furniture repair",
"amount": 100,
"recognitionDate": "2023-10-27",
"ownerId": "67166b458d730bb789c969e1",
"listingId": "67166b51607b95e9450d9c30",
"revenueShare": {
"shareSplit": 0.5,
"vendorId": "67166b458d730bb789c969e1"
},
"vatOCConfig": {
"name": "VAT",
"description": "VAT",
"percent": 0.01,
"categoryCode": "vat",
"categoryId": "789e3210-1234-5678-90ab-cdef12345678"
},
"referenceId": "REF-12345",
"attachments": [
{
"url": "https://cdn.filepicker.io/api/file/bBnKEk8TlmJAUHcLApRx",
"urlThumbnail": "https://cdn.filepicker.io/api/file/bBnKEk8TlmJAUHcLApRx",
"extension": "png",
"fileName": "Invoice copy"
}
]
}Response
Owner charges by listing created