Service bills

Delete a service bill

Removes a service bill and reverses what it charged the property.

DELETE
https://api.portal.magicdoor.com/company-app/service-bills/{serviceBillId}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

serviceBillIdstringrequired

The service bill to delete. A Snowflake id sent as a decimal string.

example: 1836110447398404096

Response

200 · The bill was deleted. No body is returned.

401 · The access token is missing, expired, or does not belong to a property manager.

404 · No service bill with that id exists for the caller's company.

422 · The bill cannot be deleted — for example because it has already been paid out to the company.