Deposit slips

List deposit slips

Returns a page of the company's deposit slips as summaries, without their entries. Requires the deposit_slips:read permission.

GET
https://services.magicdoor.com/accounting/company-portal/deposit-slips

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.

Query parameters

pageinteger

Which page to return, starting at 1.

default: 1
pageSizeinteger

How many slips per page, between 1 and 100.

default: 50
bankAccountIdstring

Only slips taken to this bank account.

deposited.startstring · date

Earliest deposit date to include, read in the company's timezone.

deposited.endstring · date

Latest deposit date to include, read in the company's timezone.

deposited.startInclusiveboolean

Whether deposited.start itself is included.

default: true
deposited.endInclusiveboolean

Whether deposited.end itself is included.

default: true

Response

200 · A page of deposit slip summaries.

itemsDepositSlip[]

The slips on this page. Fetch one by id to see its entries.

totalCountinteger

How many slips match the filter in total.

totalPagesinteger

How many pages the filter produces at this pageSize.

pageinteger

The page number that was returned.

pageSizeinteger

How many slips a full page holds.

400 · A query parameter failed validation — `page` below 1, `pageSize` outside 1–100, or a `bankAccountId` that is not a Snowflake.

401 · The access token is missing, expired, or not for this company.

403 · The caller does not hold the `deposit_slips:read` permission.