PUBLIC API v1
List of attachments
GET /api/v1/companies/{company_pk}/attachments/
Get a list of attachments for the company (by company pk). Results are ordered by value_date desc by default, use `ordering` to override.
Permission: read_documents · Direct link
Company-scoped. Account permissions, plan limits and document state still apply.
Path and query parameters
| Parameter | Location / type | Description |
|---|---|---|
brand_name | query · string | Not specified |
company_pkRequired | path · string (uuid) | Not specified |
created_from | query · string (date) | Not specified |
created_to | query · string (date) | Not specified |
date_from | query · string (date) | Filter by value_date (or created, when the document has no value_date) >= date_from (inclusive). |
date_to | query · string (date) | Filter by value_date (or created, when the document has no value_date) <= date_to (inclusive). |
description | query · string | Not specified |
file_name | query · string | Not specified |
has_type | query · "contract" | "invoice" | "other" | "receipt" | * `invoice` - Invoice * `receipt` - Receipt * `contract` - Contract * `other` - Other |
linked | query · boolean | Not specified |
ordering | query · string | Sort field: value_date, created, amount. Prefix with `-` for desc. |
page | query · integer | A page number within the paginated result set. |
page_size | query · integer | Number of results to return per page. |
search | query · string | Case-insensitive search across brand_name, description, file_name and attachment_number. |
Responses
200 Response fields
application/json
| Field | Type / accepted values | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
countRequired | integer | Not specified | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
next | string (uri) | null | Not specified | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
previous | string (uri) | null | Not specified | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
resultsRequired | object[] | Not specifiedNested fields
|
400 Response fields
application/json
| Field | Type / accepted values | Description |
|---|---|---|
detailRequired | string | Not specified |
code | integer | Not specified |
type_ | string | Not specified |
fieldRequired | string | Not specified |
401 Response fields
application/json
| Field | Type / accepted values | Description |
|---|---|---|
detailRequiredRead only | string | Not specified |
403 Missing scope, company mismatch, unsupported operation, or a plan/account restriction.
429 Rate limit exceeded. Wait for the Retry-After header before retrying.
Use the base URL https://api.norman.finance/api/v1. Sign up or log in to Norman to create an API key, then send it as a Bearer token. For an OpenAPI JSON file, contact support.