Issue a credit
Puts a credit on the lease that reduces what the tenants owe, for example a goodwill allowance. The credit is used up against charges as they fall due.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease to credit. A Snowflake id, sent as a decimal string.
Body
application/json
amountnumberrequiredHow much credit to issue, as a decimal amount of at least 1.
issueDatestring · daterequiredThe date the credit counts from.
descriptionstringWhat the credit is for. Up to 1000 characters.
Response
200 · The credit that was issued.
idstringId of the credit. A Snowflake id, sent as a decimal string.
createdstring · date-timeWhen the credit was issued, in the company's timezone.
updatedstring · date-timeWhen it last changed.
bankAccountIdstringBank account the credit is booked against. A Snowflake id, sent as a decimal string.
chartOfAccountIdstringAccount the credit is booked to. A Snowflake id, sent as a decimal string.
portfolioIdstringPortfolio the credit rolls up to. A Snowflake id, sent as a decimal string.
propertyIdstringProperty the credit is on. A Snowflake id, sent as a decimal string.
unitIdstringUnit the credit is on. A Snowflake id, sent as a decimal string.
leaseIdstringLease the credit is on. A Snowflake id, sent as a decimal string.
amountnumberHow much credit was issued, as a decimal amount.
appliedAmountnumberHow much of it has been used against charges.
availableAmountnumberHow much of it is still unused.
creditDatestring · dateThe date the credit counts from.
appliedLeaseChargesAppliedLeaseCharge[]Which charges the credit has been used against.
metadataobjectFree-form key/value data carried on the credit.
creatorobjectWho created the record.
bankAccountobjectThe bank account the credit is booked against.
chartOfAccountobjectThe account the credit is booked to.
portfolioobjectThe portfolio the lease rolls up to.
propertyobjectThe property the lease's unit sits in.
unitobjectThe unit the lease is for.
leaseobjectThe lease the credit is on.
leaseChargesLeaseCharge[]The charges named in appliedLeaseCharges.