Get a MagicDoor invoice
Fetches one invoice with every charge on it, a roll-up by service, the payments applied to it, and the invoice PDF.
Authorization
AuthorizationstringrequiredPath parameters
billIdstringrequiredThe invoice to fetch. A Snowflake id sent as a decimal string.
Response
200 · The invoice.
idstringThe invoice. A Snowflake id sent as a decimal string.
billDatestring · date-timeThe date on the invoice, in the company's timezone.
dueDatestring · date-timeWhen MagicDoor expects to be paid, in the company's timezone.
totalAmountnumberWhat the invoice comes to in dollars and cents. Positive — money the management company owes MagicDoor.
allocatedAmountnumberHow much of it has been paid or covered by credit so far.
dueAmountnumberWhat is still outstanding: totalAmount less allocatedAmount. Zero means the invoice is settled.
memostringA note on the invoice. Absent when none was set.
referencestringMagicDoor's reference for the invoice. Absent when none was set.
metadataobjectFree-form key-value pairs kept on the invoice.
createdstring · date-timeWhen the invoice was created, in the company's timezone.
updatedstring · date-timeWhen it last changed, in the company's timezone.
creatorobjectWho created the record.
summariesobject[]The invoice's charges rolled up by service, ordered by service name.
chargesobject[]Every individual charge on the invoice.
allocationsobject[]The payments applied to the invoice.
fileobjectThe invoice PDF, with a signed download URL. Absent when no file is attached.