Skip to main content

Export Compliance Documents

GET 

/api/v2/compliance-documents/export

Download the compliance documents list as an Excel or CSV file: the same filters (including filter_groups and filter[<column>.<operator>]), sort and readable sources as List Compliance Documents. Sources you cannot read are left out, as in the list.

Required scope: inventory:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Columns: ID, Type, Document, Description, Filed Against, Linked To, Lots / Batch, Issuer, Reference, Issued, Expires, Expiry State, Version, Current, Uploaded By, Uploaded At (tenant timezone, named in the heading).

Up to 10,000 rows are written. When more rows match, the response carries an X-Export-Truncated header whose value is how many matched.

Permission: inventory.index and inventory.export. Personal access tokens need the inventory:read scope.

Request​

Responses​

OK

Response Headers
    Content-Type