Download OpenAPI specification:
The CAPEX API enables you to integrate your application with the CAPEX system. The CAPEX API is REST-based and follows JSON:API principles for structuring responses.
Starting from version 1.0, the API is stable. We are continuously improving our API, and new endpoints will be added. Any updates or changes within this major version will be backward-compatible and can be found in this documentation.
For getting access to the CAPEX API, please reach out to us at: kontakt@alasco.de.
The base URL for all endpoints is:
https://api.alasco.de/capex/v1
The CAPEX API supports compressed payloads. If you would like to make use of this, you have to specify the Accept-Encoding header. Supported encodings are gzip and br.
Objects relate as follows (each → is a navigable sub-resource):
The CAPEX API provides endpoints to:
The CAPEX API uses pagination. The page size is 100, and additional pages can be accessed using a next link.
An Asset is a property you manage capital expenditure for, mirrored from your Alasco asset register. Assets are read-only through this API: capital work on an asset is organised into Measures, and invoices are submitted against an asset (see Invoice).
| id required | string <uuid> (Id) |
{- "data": {
- "attributes": {
- "date_created": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "ASSET"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "date_created": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "ASSET"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Change Order is a formal amendment to a Contract - a cost or scope change - carrying claimed, audited and approved amounts and an approval state. Change orders are read-only through this API and can hold Documents.
| id required | string <uuid> (Id) |
{- "data": {
- "attributes": {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "basis_of_claim": "ADDITIONAL_SERVICE",
- "change_order_date": "2019-08-24",
- "claimed_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "declined_at": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string",
- "other_basis_of_claim": "string",
- "other_trigger": "string",
- "state": "ACKNOWLEDGED",
- "trigger": "BUYER",
- "weighting_factor": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CHANGE_ORDER"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "basis_of_claim": "ADDITIONAL_SERVICE",
- "change_order_date": "2019-08-24",
- "claimed_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "declined_at": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string",
- "other_basis_of_claim": "string",
- "other_trigger": "string",
- "state": "ACKNOWLEDGED",
- "trigger": "BUYER",
- "weighting_factor": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CHANGE_ORDER"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "basis_of_claim": "ADDITIONAL_SERVICE",
- "change_order_date": "2019-08-24",
- "claimed_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "declined_at": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string",
- "other_basis_of_claim": "string",
- "other_trigger": "string",
- "state": "ACKNOWLEDGED",
- "trigger": "BUYER",
- "weighting_factor": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CHANGE_ORDER"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "basis_of_claim": "ADDITIONAL_SERVICE",
- "change_order_date": "2019-08-24",
- "claimed_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "declined_at": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string",
- "other_basis_of_claim": "string",
- "other_trigger": "string",
- "state": "ACKNOWLEDGED",
- "trigger": "BUYER",
- "weighting_factor": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CHANGE_ORDER"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contract_id required | string <uuid> (Contract Id) |
Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a |
{- "data": [
- {
- "attributes": {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "basis_of_claim": "ADDITIONAL_SERVICE",
- "change_order_date": "2019-08-24",
- "claimed_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "declined_at": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string",
- "other_basis_of_claim": "string",
- "other_trigger": "string",
- "state": "ACKNOWLEDGED",
- "trigger": "BUYER",
- "weighting_factor": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CHANGE_ORDER"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "basis_of_claim": "ADDITIONAL_SERVICE",
- "change_order_date": "2019-08-24",
- "claimed_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "declined_at": "2019-08-24T14:15:22Z",
- "identifier": "string",
- "name": "string",
- "other_basis_of_claim": "string",
- "other_trigger": "string",
- "state": "ACKNOWLEDGED",
- "trigger": "BUYER",
- "weighting_factor": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CHANGE_ORDER"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Change Order Document is a file attached to a Change Order (for example the amendment offer or supporting evidence). You can upload and download them; a document left unlinked is removed automatically after a grace period.
| change_order_id required | string <uuid> (Change Order Id) |
| document_type required | string (ChangeOrderDocumentType) Enum: "ATTACHMENT" "AUDITED_CHANGE_ORDER" "CHANGE_ORDER" "CHANGE_ORDER_OFFER" "COVERSHEET_EXTERNAL" "EXTERNAL_CORRESPONDENCE" "INTERNAL_CORRESPONDENCE" "OTHER" "PLANS" "PROTOCOL" "VALUATIONS" Available values / Verfügbare Werte:
| ||||||||||||||||||||||||||||||||||||
| upload required | string <application/octet-stream> (Upload) The file to submit. The file must be a valid PDF. |
{- "data": {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "links": {
}, - "relationships": {
- "change_order": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CHANGE_ORDER"
}
}
}, - "type": "CHANGE_ORDER_DOCUMENT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| change_order_id required | string <uuid> (Change Order Id) |
| document_id required | string <uuid> (Document Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}| change_order_id required | string <uuid> (Change Order Id) |
| document_id required | string <uuid> (Document Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}| document_id required | string <uuid> (Document Id) |
| change_order_id required | string <uuid> (Change Order Id) |
{- "data": {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "links": {
}, - "relationships": {
- "change_order": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CHANGE_ORDER"
}
}
}, - "type": "CHANGE_ORDER_DOCUMENT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| change_order_id required | string <uuid> (Change Order Id) |
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "links": {
}, - "relationships": {
- "change_order": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CHANGE_ORDER"
}
}
}, - "type": "CHANGE_ORDER_DOCUMENT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Contract is an agreement with a Contractor to deliver work, tracking the committed amount and reserve. In CapEx a contract belongs to a Measure; it accumulates Invoices and Change Orders and can carry Documents and a Custom Field. Contracts can be created and updated through the API.
required | object (CreateContractDataCapex) |
{- "data": {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "description": "string",
- "is_reverse_charge": true,
- "name": "string"
}, - "relationships": {
- "contracting_entity": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}, - "contractor": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}, - "measure": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}
}, - "type": "CONTRACT"
}
}{- "data": {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
Include (string) or Include (null) (Include) You can get related objects by specifying them separated by comma as a GET
e.g. |
{- "data": {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contract_id required | string <uuid> (Contract Id) |
{- "data": {
- "attributes": {
- "calculation_block_order": [
- "cost_allocation"
], - "general_terms": {
- "cash_discount_percentage": 0,
- "cash_discount_period_final": 0,
- "cash_discount_period_installment": 0,
- "cash_discount_period_partial_final": 0,
- "cash_discount_period_single": 0,
- "cash_discount_period_unit_final": "string",
- "cash_discount_period_unit_installment": "string",
- "cash_discount_period_unit_partial_final": "string",
- "cash_discount_period_unit_single": "string",
- "cash_discount_reference": "string",
- "cash_discount_reference_choices": [
- "string"
], - "deduction_percentage": 0,
- "deduction_reference": "string",
- "deduction_reference_choices": [
- "string"
], - "payment_period_final": 0,
- "payment_period_installment": 0,
- "payment_period_partial_final": 0,
- "payment_period_single": 0,
- "payment_period_unit_final": "string",
- "payment_period_unit_installment": "string",
- "payment_period_unit_partial_final": "string",
- "payment_period_unit_single": "string"
}, - "rules": [
- {
- "input_value_from": "string",
- "order_in_block": 0,
- "param_values": {
- "property1": "string",
- "property2": "string"
}, - "rule_identifier": "string",
- "rule_template_key": "string",
- "rule_template_title": "string",
- "rule_type": "string"
}
]
}, - "relationships": {
- "contract": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CONTRACT"
}
}
}, - "type": "CONTRACT_TERMS"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Include (string) or Include (null) (Include) You can get related objects by specifying them separated by comma as a GET
e.g. |
{- "data": [
- {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contracting_entity_id required | string <uuid> (Contracting Entity Id) |
Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |
Include (string) or Include (null) (Include) You can get related objects by specifying them separated by comma as a GET
e.g. |
{- "data": [
- {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contractor_id required | string <uuid> (Contractor Id) |
Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |
Include (string) or Include (null) (Include) You can get related objects by specifying them separated by comma as a GET
e.g. |
{- "data": [
- {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |
Include (string) or Include (null) (Include) Contains links to related objects. |
{- "data": [
- {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
required | object (UpdateContractData) |
{- "data": {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "description": "string",
- "name": "string",
- "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contracting_entity": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}, - "contractor": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}
}, - "type": "CONTRACT"
}
}{- "data": {
- "attributes": {
- "amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "booking_account_number": 1,
- "contract_number": "string",
- "contract_type": "MULTIPART",
- "contracting_entity": "5dc829e7-6b18-4d44-b168-ae2ead327749",
- "contractor": "d84a0339-1f2e-4494-ad94-4a42561293a6",
- "cost_center": "string",
- "date_contract": "2019-08-24",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "is_reverse_charge": true,
- "measure": "c61a2bb3-03f8-4303-ab27-87638baf85be",
- "name": "string",
- "reserve_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "status": "COMPLETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "measures": {
}
}, - "type": "CONTRACT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Contract Document is a file (such as the signed contract or its terms) attached to a Contract. You can upload and download them; a document left unlinked from a contract is removed automatically after a short grace period.
| contract_id required | string <uuid> (Contract Id) |
| document_type required | string (ContractDocumentType) Enum: "ATTACHMENT" "CONTRACT" Available values / Verfügbare Werte:
| |||||||||
| upload required | string <application/octet-stream> (Upload) The file to submit. The file must be a valid PDF. |
{- "data": {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CONTRACT"
}
}
}, - "type": "CONTRACT_DOCUMENT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contract_id required | string <uuid> (Contract Id) |
| document_id required | string <uuid> (Document Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}| document_id required | string <uuid> (Document Id) |
| contract_id required | string <uuid> (Contract Id) |
{- "data": {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CONTRACT"
}
}
}, - "type": "CONTRACT_DOCUMENT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contract_id required | string <uuid> (Contract Id) |
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "CONTRACT"
}
}
}, - "type": "CONTRACT_DOCUMENT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Contracting Entity is the legal entity on your side that commissions contracts, holding company and commercial-register details. Names are unique per account, and entities can be created and updated through the API.
required | object (Payload_ContractingEntityCreateAttributes_Literal_CONTRACTING_ENTITY__) |
{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "",
- "commercial_register_type": "",
- "email": "",
- "managing_directors": "",
- "name": "string",
- "register_court": "",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "",
- "website": "",
- "zip_code": "string"
}, - "type": "CONTRACTING_ENTITY"
}
}{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
required | object (Payload_ContractingEntityUpdateAttributes_Literal_CONTRACTING_ENTITY__) |
{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "",
- "commercial_register_type": "",
- "email": "",
- "managing_directors": "",
- "name": "string",
- "register_court": "",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "",
- "website": "",
- "zip_code": "string"
}, - "type": "CONTRACTING_ENTITY"
}
}{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "address": "string",
- "city": "string",
- "commercial_register_number": "string",
- "commercial_register_type": "string",
- "email": "string",
- "managing_directors": "string",
- "name": "string",
- "register_court": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "vat_id": "string",
- "website": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Contractor is a supplier engaged to carry out contracted work, holding master data such as its identifier, VAT ID and bank details. A contractor can hold many Contracts, its tax-waiver document can be uploaded and downloaded, and contractors can be created and updated through the API.
required | object (Payload_ContractorCreateAttributes_Literal_CONTRACTOR__) |
{- "data": {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "DE",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "security_number": "string"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "type": "CONTRACTOR"
}
}{- "data": {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
{- "data": {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
required | object (Payload_ContractorUpdateAttributes_Literal_CONTRACTOR__) |
{- "data": {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "DE",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "security_number": "string"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "type": "CONTRACTOR"
}
}{- "data": {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "accounts_payable_number": 0,
- "address": "string",
- "bic": "string",
- "city": "string",
- "contact_person_email": "string",
- "contact_person_name": "string",
- "contact_person_phone_number": "string",
- "country": "string",
- "iban": "string",
- "identifier": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "tax_waiver": {
- "filename": "string",
- "security_number": "string",
- "valid_until": "2019-08-24"
}, - "vat_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTOR"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
| upload required | string <application/octet-stream> (Upload) The file to submit. The file must be a valid PDF. |
{- "data": {
- "filename": "string"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}A Custom Field holds your account's user-defined values on a Contract (the fields themselves are configured in Alasco). It is read-only here and retrieved per contract (GET /contracts/{contract_id}/custom_fields/).
| contract_id required | string <uuid> (Contract Id) |
Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a |
{- "data": [
- {
- "attributes": {
- "name": "string",
- "value": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CUSTOM_FIELD"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": {
- "name": "string",
- "value": 0
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CUSTOM_FIELD"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}An Invoice is a contractor's request for payment that moves through states from NEW to PAID. Submitting an invoice against an Asset creates it in NEW, linked only to the asset's project; to process it you must link it to a Contract (which, in CapEx, belongs to a Measure). Invoices carry audited and approved amounts, Documents and Tags, and you can register their payment.
required | object (AddPaidInvoiceData) |
{- "data": {
- "attributes": {
- "audited_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "date_approved": "2019-08-24",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "internal_identifier": "",
- "invoice_type": "ADVANCE",
- "paid_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "payment_comment": "string",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "relationships": {
- "contract": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}
}, - "type": "INVOICE"
}
}{- "data": {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
Include (string) or Include (null) (Include) You can get related objects by specifying them separated by comma as a GET
e.g. |
{- "data": {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are
The following attributes support filtering:
Money attributes can be filtered on both, net and tax values. An example to filter for the net amount of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Include (string) or Include (null) (Include) You can get related objects by specifying them separated by comma as a GET
e.g. |
{- "data": [
- {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| contract_id required | string <uuid> (Contract Id) |
{- "data": [
- {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
required | object (InvoicePaymentData) |
{- "data": {
- "attributes": {
- "payment_amount_gross": 0,
- "payment_comment": "string",
- "payment_date": "2019-08-24"
}, - "type": "PAYMENT_DETAILS"
}
}{- "data": {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}This endpoint supports submitting new invoices. Before using this endpoint, please reach out the the support team to make sure, everything is properly set up.
| id required | string <uuid> (Id) |
| file required | string <application/octet-stream> (File) The file to submit. The file must be a valid PDF. |
{- "data": {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}This endpoint supports updating a selection of fields of invoices. To avoid inconsistencies, this is only possible for invoices in status New. Furthermore, when using two workflows steps for complete details, the invoice has to be in the first step (Optional Complete Details).
| id required | string <uuid> (Id) |
required | object (UpdateNewInvoiceDetailsData) |
{- "data": {
- "attributes": {
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "external_identifier": "string",
- "internal_identifier": "string",
- "invoice_type": "SINGLE",
- "unaudited_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}
}, - "type": "INVOICE"
}
}{- "data": {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| id required | string <uuid> (Id) |
required | object (UpdatePaidInvoiceData) |
{- "data": {
- "attributes": {
- "audited_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "date_approved": "2019-08-24",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "internal_identifier": "",
- "invoice_type": "ADVANCE",
- "paid_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "payment_comment": "string",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string"
}
}
}, - "type": "INVOICE"
}
}{- "data": {
- "attributes": {
- "audited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "cash_discount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "contract": "42e1f059-670f-4233-b44c-9ef5ebe8fe50",
- "date_approved": "2019-08-24T14:15:22Z",
- "date_created": "2019-08-24T14:15:22Z",
- "date_discount": "2019-08-24",
- "date_due": "2019-08-24",
- "date_posted": "2019-08-24",
- "date_received": "2019-08-24",
- "discounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "external_identifier": "string",
- "installment_number": 1,
- "internal_identifier": "string",
- "invoice_process_state": "APPROVED",
- "invoice_type": "SINGLE",
- "is_reverse_charge": true,
- "payment_amount_gross": {
- "amount": "123.123456789012",
- "currency": "EUR"
}, - "payment_comment": "string",
- "payment_created": "2019-08-24T14:15:22Z",
- "payment_date": "2019-08-24",
- "unaudited_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}, - "undiscounted_approved_amount": {
- "currency": "EUR",
- "net": "123.123456789012",
- "tax": "123.123456789012"
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "contract": {
- "data": {
- "id": "1aae03bc-96d8-47b6-9a8b-07f190400e62",
- "type": "CONTRACT"
}
}, - "documents": {
}
}, - "type": "INVOICE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}An Invoice Document is a file attached to an Invoice, such as the invoice PDF or supporting evidence. At least one document is required before an invoice can be checked; documents can be uploaded, downloaded and, under certain conditions, deleted.
| invoice_id required | string <uuid> (Invoice Id) |
| document_type required | string (InvoiceDocumentCreateType) Enum: "ATTACHMENT" "AUDITED_INVOICE" "COVERSHEET_EXTERNAL" "EXTERNAL_CORRESPONDENCE" "INTERNAL_CORRESPONDENCE" "INVOICE" "OTHER" "PAYMENT_CERTIFICATE" "PLANS" "PROTOCOL" "REVISED_INVOICE" "VALUATIONS" Available values / Verfügbare Werte:
| |||||||||||||||||||||||||||||||||||||||
| upload required | string <application/octet-stream> (Upload) The file to submit. The file must be a valid PDF. |
{- "data": {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "links": {
- "download_annotated": "https://api.alasco.de/capex/v1/invoices/<invoice_id>/documents/<document_id>/download-annotated/",
}, - "relationships": {
- "invoice": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "INVOICE"
}
}
}, - "type": "INVOICE_DOCUMENT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| invoice_id required | string <uuid> (Invoice Id) |
| document_id required | string <uuid> (Document Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}| invoice_id required | string <uuid> (Invoice Id) |
| document_id required | string <uuid> (Document Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}| invoice_id required | string <uuid> (Invoice Id) |
| document_id required | string <uuid> (Document Id) |
{- "data": {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "links": {
- "download_annotated": "https://api.alasco.de/capex/v1/invoices/<invoice_id>/documents/<document_id>/download-annotated/",
}, - "relationships": {
- "invoice": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "INVOICE"
}
}
}, - "type": "INVOICE_DOCUMENT"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}| invoice_id required | string <uuid> (Invoice Id) |
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "document_type": "ATTACHMENT",
- "filename": "string",
- "uploaded_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "links": {
- "download_annotated": "https://api.alasco.de/capex/v1/invoices/<invoice_id>/documents/<document_id>/download-annotated/",
}, - "relationships": {
- "invoice": {
- "data": {
- "id": "503671b0-c9b4-47a9-b859-763fcf8a9f28",
- "type": "INVOICE"
}
}
}, - "type": "INVOICE_DOCUMENT"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}An Invoice Tag is a coloured label (with a name unique per account) you assign to Invoices for organisation and filtering. Tags can be created, updated and deleted, and assigned to or removed from invoices.
A Measure is a planned package of capital work on an Asset (for example a renovation or a fit-out), carrying a status, category and priority. Measures are read-only here and group the Contracts through which the work is executed (GET /measures/{id}/contracts/).
{- "data": {
- "attributes": {
- "asset": "5a841cf2-3786-47ad-8831-36ccea9ed096",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "identifier": "string",
- "name": "string",
- "status": "BUDGETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "asset": {
- "data": {
- "id": "9e77da78-ee18-4cac-b643-8bbd092a5bae",
- "type": "ASSET"
}
}
}, - "type": "MEASURE"
}, - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}Cursor[Position] (string) or Cursor[Position] (null) (Cursor[Position]) List endpoint responses are paginated in the Alasco API. By calling the endpoint without the
pagination parameter you will receive the first page. If not all elements fit on one page there will
be a | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Filter[Attribute.Operation] (string) or Filter[Attribute.Operation] (null) (Filter[Attribute.Operation]) You can filter on certain attributes by specifying them as a GET parameter along
with an operation, e.g. Currently supported operations are:
The following attributes support filtering:
|
{- "data": [
- {
- "attributes": {
- "asset": "5a841cf2-3786-47ad-8831-36ccea9ed096",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string",
- "identifier": "string",
- "name": "string",
- "status": "BUDGETED"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": {
- "asset": {
- "data": {
- "id": "9e77da78-ee18-4cac-b643-8bbd092a5bae",
- "type": "ASSET"
}
}
}, - "type": "MEASURE"
}
], - "errors": [
- {
- "detail": "string",
- "source": {
- "property1": "string",
- "property2": "string"
}, - "status": "string",
- "title": "string"
}
], - "included": [
- {
- "attributes": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "string"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}