Import
Manage Imports, which are collections of Invoices.
Last updated
Manage Imports, which are collections of Invoices.
Last updated
GET
https://app.clubcollect.com/api/v2/imports/:id
Fetch an Import’s details.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://app.clubcollect.com/api/v2/imports
Create a new, empty Import.
The following /imports/:id/transmit
endpoint will be deprecated soon in favour of manually transmitting an Import via the ClubCollect User Interface. This gives treasurers the opportunity to configure settings correctly which is not possible via the API.
PUT
https://app.clubcollect.com/api/v2/imports/:id/transmit
Instruct ClubCollect to transmit the Import, initiating the invoice collection process.
Ensure you have finished creating all Invoices for this Import before calling this method. It is not possible to change or add more Invoices to an Import after the Import has been transmitted.
PUT
https://app.clubcollect.com/api/v2/imports/:id
Update an import.
DELETE
https://app.clubcollect.com/api/v2/imports/:id
Deletes an import and all the invoices that have been created for the import.
GET
https://app.clubcollect.com/api/v2/companies/:id/imports
Returns the list of import batches created by a company, paginated and sorted in ascending order, i.e. from oldest to newest.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
id*
string
Import ID, supplied by ClubCollect.
api:key
string
Partner API Key (Deprecated)
Authorization*
string
ApiKey <api_key>
api:key
string
Partner API Key (Deprecated)
Authorization*
string
ApiKey <api_key>
title
string
company:id*
string
Company to which the Import should belong.
expected_invoices_count
string
Number of invoices expected to be added to this import. If provided the Import cannot be transmitted from the ClubCollect User Interface until all invoices are created.
id*
string
Import ID
api:key
string
Partner API Key (Deprecated)
Authorization*
string
ApiKey <api_key>
id*
string
Import ID
api:key
string
Partner API Key (Deprecated)
Authorization*
string
ApiKey <api_key>
expected_invoices_count
string
Number of invoices expected to be added to this import. If provided the Import cannot be transmitted from the ClubCollect User Interface until all invoices are created.
id*
string
Import ID
api:key
string
Partner API Key (Deprecated)
Authorization*
string
ApiKey <api_key>
id*
string
ID of the company for which batches are requested.
page_number
string
Page number requested. If not specified, default to 1
.
page_size
string
Number of results per page. If not specified, default to 30
.
api:key
string
Partner API Key (Deprecated)
Authorization*
string
ApiKey <api_key>