curl --request GET \
--url https://api.comstruct.com/v1/invoices \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "123",
"external_id": "EXT-123",
"invoice_number": "INV-2024-001",
"invoice_date": "2024-01-15",
"due_date": "2024-02-15",
"receipt_date": "2023-11-07T05:31:56Z",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_number": "PRJ-2024-001",
"supplier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"supplier_name": "ABC Supplies Ltd.",
"supplier_tax_id": "<string>",
"supplier_iban": "<string>",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currency": "EUR",
"net_amount": 1000,
"total_tax_amount": 190,
"total_amount": 1190,
"tax_rate": 123,
"status": "NEW",
"document_type": "INVOICE",
"electronic_invoice_type": "ZUGFERD",
"down_payment_number": 123,
"payment_reference": "RF18539007547034",
"reference_type": "QRR",
"payment_term": {
"number": "<string>",
"title": "<string>"
},
"region_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legal_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_region": {
"id": "<string>",
"title": "<string>",
"number": "<string>"
},
"legal_entity": {
"id": "<string>",
"title": "<string>",
"number": "<string>"
},
"supplier": {
"id": "<string>",
"title": "<string>",
"external_id": "<string>",
"legal_uid": "<string>"
},
"project": {
"id": "<string>",
"title": "<string>",
"project_number": "<string>",
"description": "<string>",
"project_region": {
"number": "<string>",
"title": "<string>"
},
"legal_entity": {
"number": "<string>",
"title": "<string>"
}
},
"invoice_accounts": [
{
"net_amount": 1000,
"gross_amount": 1190,
"tax_amount": 190,
"account_type": "DEBIT",
"comment": "<string>",
"quantity": 10,
"unit": "Stück",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": {
"id": "<string>",
"title": "<string>",
"project_number": "<string>"
},
"account": {
"id": "<string>",
"number": "<string>",
"title": "<string>"
},
"tax_code": {
"id": "<string>",
"number": "<string>",
"title": "<string>"
}
}
],
"document": {
"id": "<string>",
"title": "<string>"
},
"comment": "<string>",
"payment_terms": "<string>",
"payment_term_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"discount_rate": 123,
"discount_date": "2023-12-25",
"items": [
{
"id": 123,
"product_number": "<string>",
"title": "<string>",
"description": "<string>",
"type": "REMOVAL",
"quantity": 123,
"unit": "<string>",
"unit_net_price": 123,
"net_price": 123,
"delivery_number": "<string>",
"delivery_date": "2023-12-25",
"item_position": 123,
"matched_delivery_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"matched_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"matched_price": true,
"matched_quantity": true,
"discount": 123,
"special_discount": 123,
"comment": "<string>"
}
],
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2024-01-15T10:00:00Z",
"assignee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"total": 150,
"limit": 25,
"offset": 0,
"hasNext": true,
"hasPrevious": false,
"totalPages": 6,
"currentPage": 0
}Erforderliche Berechtigungen: invoices:read
Gibt eine paginierte Liste von Rechnungen zurück, sortiert nach created_at in absteigender Reihenfolge. Enthält invoice_accounts, aber schließt Verlauf und Positionen aus. Kann nach Status gefiltert werden.
curl --request GET \
--url https://api.comstruct.com/v1/invoices \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "123",
"external_id": "EXT-123",
"invoice_number": "INV-2024-001",
"invoice_date": "2024-01-15",
"due_date": "2024-02-15",
"receipt_date": "2023-11-07T05:31:56Z",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_number": "PRJ-2024-001",
"supplier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"supplier_name": "ABC Supplies Ltd.",
"supplier_tax_id": "<string>",
"supplier_iban": "<string>",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currency": "EUR",
"net_amount": 1000,
"total_tax_amount": 190,
"total_amount": 1190,
"tax_rate": 123,
"status": "NEW",
"document_type": "INVOICE",
"electronic_invoice_type": "ZUGFERD",
"down_payment_number": 123,
"payment_reference": "RF18539007547034",
"reference_type": "QRR",
"payment_term": {
"number": "<string>",
"title": "<string>"
},
"region_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legal_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_region": {
"id": "<string>",
"title": "<string>",
"number": "<string>"
},
"legal_entity": {
"id": "<string>",
"title": "<string>",
"number": "<string>"
},
"supplier": {
"id": "<string>",
"title": "<string>",
"external_id": "<string>",
"legal_uid": "<string>"
},
"project": {
"id": "<string>",
"title": "<string>",
"project_number": "<string>",
"description": "<string>",
"project_region": {
"number": "<string>",
"title": "<string>"
},
"legal_entity": {
"number": "<string>",
"title": "<string>"
}
},
"invoice_accounts": [
{
"net_amount": 1000,
"gross_amount": 1190,
"tax_amount": 190,
"account_type": "DEBIT",
"comment": "<string>",
"quantity": 10,
"unit": "Stück",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": {
"id": "<string>",
"title": "<string>",
"project_number": "<string>"
},
"account": {
"id": "<string>",
"number": "<string>",
"title": "<string>"
},
"tax_code": {
"id": "<string>",
"number": "<string>",
"title": "<string>"
}
}
],
"document": {
"id": "<string>",
"title": "<string>"
},
"comment": "<string>",
"payment_terms": "<string>",
"payment_term_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"discount_rate": 123,
"discount_date": "2023-12-25",
"items": [
{
"id": 123,
"product_number": "<string>",
"title": "<string>",
"description": "<string>",
"type": "REMOVAL",
"quantity": 123,
"unit": "<string>",
"unit_net_price": 123,
"net_price": 123,
"delivery_number": "<string>",
"delivery_date": "2023-12-25",
"item_position": 123,
"matched_delivery_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"matched_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"matched_price": true,
"matched_quantity": true,
"discount": 123,
"special_discount": 123,
"comment": "<string>"
}
],
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2024-01-15T10:00:00Z",
"assignee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"total": 150,
"limit": 25,
"offset": 0,
"hasNext": true,
"hasPrevious": false,
"totalPages": 6,
"currentPage": 0
}API-Schlüssel zur Authentifizierung. Kontaktieren Sie Ihren Customer Success Manager, um einen API-Schlüssel zu erhalten.
Jeder Endpunkt erfordert spezifische Berechtigungen (Scopes); die erforderlichen Scopes werden pro Endpunkt angezeigt.
Anzahl der Einträge pro Seite (max. 500, Standard 25)
1 <= x <= 50025
Anzahl der zu überspringenden Einträge für die Paginierung
x >= 00
Nach Rechnungsstatus filtern
NEW, PROCESSING, FACTUAL_CHECKING, PRICE_CHECKING, CHECKED, CANCELLED, ERROR, OPEN Erfolgreich
Array von Rechnungen
Show child attributes
Gesamtanzahl der Rechnungen
150
Anzahl der Einträge pro Seite
25
Anzahl der übersprungenen Einträge
0
Ob weitere Seiten verfügbar sind
true
Ob vorherige Seiten verfügbar sind
false
Gesamtanzahl der Seiten
6
Aktuelle Seitennummer (0-basiert)
0