Get a MagicDoor credit
Fetches one credit with the bank account and chart of account it is booked against, and the invoices it has been used on.
Authorization
AuthorizationstringrequiredPath parameters
magicDoorBillCreditIdstringrequiredThe credit to fetch. A Snowflake id sent as a decimal string.
Response
200 · The credit.
idstringThe credit. A Snowflake id sent as a decimal string.
amountnumberWhat the credit is worth, in dollars and cents. Positive — money MagicDoor owes the management company against future invoices.
appliedAmountnumberHow much of the credit has already been used against invoices.
availableAmountnumberWhat is left to use: amount less appliedAmount.
creditDatestring · dateThe day the credit was granted.
memostringWhy the credit was granted. Absent when none was recorded.
bankAccountIdstringThe bank account the credit is booked against.
chartOfAccountIdstringThe chart of account the credit is booked to.
appliedMagicDoorBillsobject[]Which invoices the credit has been used against.
metadataobjectFree-form key-value pairs kept on the credit.
createdstring · date-timeWhen the credit was created, in the company's timezone.
updatedstring · date-timeWhen it last changed, in the company's timezone.
creatorobjectWho created the record.
bankAccountobjectThe bank account the credit is booked against. Account and routing numbers are masked to their last four digits.
chartOfAccountobjectThe chart of account the credit is booked to.
magicDoorBillsobject[]The invoices named in appliedMagicDoorBills, resolved.