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: [email protected]
.
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
.
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.
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"
}
}
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"
}
}
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" Change order documents can be of different types such as |
upload required | string <binary> (Upload) The file to submit. The file must be a valid PDF and must not be larger than 10 MB. |
{- "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": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}
change_order_id required | string <uuid> (Change Order Id) |
document_id required | string <uuid> (Document Id) |
{- "detail": [
- {
- "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"
}
}
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, e.g. the contract measures. |
{- "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"
}
}
contract_id required | string <uuid> (Contract Id) |
document_type required | string (ContractDocumentType) Enum: "ATTACHMENT" "CONTRACT" Contract documents can be of different types such as |
upload required | string <binary> (Upload) The file to submit. The file must be a valid PDF and must not be larger than 10 MB. |
{- "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"
}
}
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"
}
}
required | object (Payload_ContractingEntityCreateAttributes_Literal_CONTRACTING_ENTITY__) |
{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "zip_code": "string"
}, - "type": "CONTRACTING_ENTITY"
}
}
{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "zip_code": "string"
}, - "type": "CONTRACTING_ENTITY"
}
}
{- "data": {
- "attributes": {
- "address": "string",
- "city": "string",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "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",
- "name": "string",
- "tax_authority": "BADEN_WUERTTEMBERG",
- "tax_id": "string",
- "zip_code": "string"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "relationships": { },
- "type": "CONTRACTING_ENTITY"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}
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 <binary> (Upload) The file to submit. The file must be a valid PDF and must not be larger than 10 MB. |
{- "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"
}
}
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"
}
}
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 <binary> (File) The file to submit. The file must be a valid PDF and must not be larger than 10 MB. |
{- "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"
}
}
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" Invoice documents can be of different types. The file which is uploaded to Alasco when a new
invoice is created is of type |
upload required | string <binary> (Upload) The file to submit. The file must be a valid PDF and must not be larger than 10 MB. |
{- "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) |
{- "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"
}
}
{- "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.
|
{- "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"
}
}