mba-cli document

3 commands

Read documents (key-scoped)

Synopsis#

bash
mba-cli document <command> [flags]

Available commands#

mba-cli document getGet one document by id
Retrieve a document by id Returns the document with the given `id`. Related: `List documents`. Get one document by id
--idstringDocument record id
mba-cli document get-by-referenceGet one document by reference type and id
Retrieve a document by reference Returns the document linked to a `referenceType` + `referenceId` pair (e.g. an invoice or booking). Related: `List documents`. Get one document by reference type and id
--ref-idstringReference id
--typestringReference type
mba-cli document lsList documents
List documents Returns the documents for the tenant identified by the API key. Paginated: use `page`/`limit` or `paginate=false`; filter by document type. Related: `Retrieve a document by reference`. List documents
--allbool = falseReturn all rows (paginate=false)
--document-typestringQuery parameter documentType (from the API spec)
--limitint = 20Query parameter limit (from the API spec)
--pageint = 1Query parameter page (from the API spec)
--paginatebool = trueQuery parameter paginate (from the API spec)
--reference-typestringQuery parameter referenceType (from the API spec)
Was this page helpful?