Create a recurring vendor bill
Sets up a schedule that raises a vendor bill for a property at a fixed frequency, from a start date until an optional end date.
Authorization
AuthorizationstringrequiredBody
application/json
vendorIdstringrequiredThe vendor each raised bill will be owed to. Must belong to the caller's company and be active.
propertyIdstringrequiredThe property each raised bill is charged to. Must belong to the caller's company and be active.
lineItemsobject[]requiredWhat each raised bill will be made up of. At least one line.
chargeFrequencyenum<string>requiredHow often to raise a bill. monthly2XSplit raises it twice a month.
companyChargebooleanrequiredtrue charges each raised bill to the management company's own books instead of the property's.
unitIdstringThe unit each raised bill is charged to. Must belong to the property and be active.
leaseIdstringThe lease each raised bill is charged to. Must belong to the caller's company.
referencestringA reference carried onto each raised bill. 1 to 100 characters.
memostringA note carried onto each raised bill. 1 to 1000 characters.
dueDaysintegerHow many days after a bill is raised it falls due. Between 0 and 365.
startsFromstring · daterequiredThe first day a bill can be raised.
endsstring · dateThe last day a bill can be raised. Must be later than startsFrom. Leave it out for a schedule that runs indefinitely.
Response
200 · The schedule that was created.
idstringThe recurring bill. A Snowflake id sent as a decimal string.
vendorIdstringThe vendor each raised bill will be owed to.
propertyIdstringThe property each raised bill is charged to.
unitIdstringThe unit each raised bill is charged to. Absent when the bill is not unit-specific.
leaseIdstringThe lease each raised bill is charged to. Absent when the bill is not lease-specific.
referencestringA reference carried onto each raised bill. Absent when none was set.
memostringA note carried onto each raised bill. Absent when none was set.
companyChargebooleantrue when each raised bill is owed by the management company out of its own money; false when it is a property expense.
dueDaysintegerHow many days after a bill is raised it falls due. Absent when no offset was set.
lineItemsobject[]What each raised bill will be made up of, in the order given.
chargeFrequencyenum<string>How often a bill is raised. monthly2XSplit raises it twice a month.
startsFromstring · dateThe first day a bill can be raised.
endsstring · dateThe last day a bill can be raised. Absent when the schedule runs indefinitely.
activebooleanfalse once the schedule has been stopped.
createdstring · date-timeWhen the schedule was created, in the company's timezone.
updatedstring · date-timeWhen the schedule last changed, in the company's timezone.