Skip to content

Commit fbfe337

Browse files
Merge pull request #19 from jorisvanandel/fix/administration-id-string-consistency
[Fix] `administration_id` should always be a string
2 parents 77d9e37 + be93d20 commit fbfe337

File tree

19 files changed

+19
-19
lines changed

19 files changed

+19
-19
lines changed

docs/src/content/docs/reference/contacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ When working with contacts, you'll have access to the following properties:
245245
| Property | Type | Description |
246246
|----------|------|-------------|
247247
| id | string | Unique identifier |
248-
| administration_id | integer | Administration ID |
248+
| administration_id | string | Administration ID |
249249
| company_name | string | Company name |
250250
| firstname | string | First name |
251251
| lastname | string | Last name |

docs/src/content/docs/reference/external-sales-invoice-payments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ When working with external sales invoice payments, you'll have access to the fol
5454
| Property | Type | Description |
5555
|----------|------|-------------|
5656
| id | string | Unique identifier for the payment |
57-
| administration_id | int | ID of the administration the payment belongs to |
57+
| administration_id | string | ID of the administration the payment belongs to |
5858
| invoice_type | string | Type of invoice (always "ExternalSalesInvoice" for these payments) |
5959
| invoice_id | string | ID of the external sales invoice the payment is for |
6060
| financial_account_id | string | ID of the financial account the payment was made to |

docs/src/content/docs/reference/external-sales-invoices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ When working with external sales invoices, you'll have access to the following p
136136
| Property | Type | Description |
137137
|----------|------|-------------|
138138
| id | string | Unique identifier |
139-
| administration_id | integer | ID of the administration the invoice belongs to |
139+
| administration_id | string | ID of the administration the invoice belongs to |
140140
| contact_id | string | ID of the contact associated with the invoice |
141141
| contact | array | Contact details |
142142
| date | string | Date of the invoice (YYYY-MM-DD) |

docs/src/content/docs/reference/sales-invoices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ When working with sales invoices, you'll have access to the following properties
273273
| Property | Type | Description |
274274
|----------|------|-------------|
275275
| id | string | Unique identifier |
276-
| administration_id | int | ID of the administration the sales invoice belongs to |
276+
| administration_id | string | ID of the administration the sales invoice belongs to |
277277
| contact_id | string | ID of the contact associated with the sales invoice |
278278
| contact | array | Contact information |
279279
| contact_person_id | string | ID of the contact person |

docs/src/content/docs/reference/subscription-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ When working with subscription templates, you'll have access to the following pr
8686
| Property | Type | Description |
8787
|----------|------|-------------|
8888
| id | string | Unique identifier |
89-
| administration_id | int | ID of the administration the template belongs to |
89+
| administration_id | string | ID of the administration the template belongs to |
9090
| workflow_id | string | ID of the workflow to use for the subscription |
9191
| document_style_id | string | ID of the document style |
9292
| mergeable | boolean | Whether the template can be merged with other templates |

docs/src/content/docs/reference/subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ When working with subscriptions, you'll have access to the following properties:
111111
| Property | Type | Description |
112112
|----------|------|-------------|
113113
| id | string | Unique identifier |
114-
| administration_id | int | ID of the administration the subscription belongs to |
114+
| administration_id | string | ID of the administration the subscription belongs to |
115115
| start_date | string | Date when the subscription starts |
116116
| end_date | string | Date when the subscription ends (null if ongoing) |
117117
| frequency | int | Frequency number (e.g., 1, 3, 6) |

docs/src/content/docs/reference/tax-rates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ When working with tax rates, you'll have access to the following properties:
4646
| Property | Type | Description |
4747
|----------|------|-------------|
4848
| id | string | Unique identifier |
49-
| administration_id | int | ID of the administration the tax rate belongs to |
49+
| administration_id | string | ID of the administration the tax rate belongs to |
5050
| name | string | Name of the tax rate (e.g., "21% btw") |
5151
| percentage | string | Tax percentage value (e.g., "21.0") |
5252
| tax_rate_type | string | Type of tax rate (e.g., "sales_invoice") |

docs/src/content/docs/reference/time-entries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ When working with time entries, you'll have access to the following properties:
9595
| Property | Type | Description |
9696
|----------|------|-------------|
9797
| id | string | Unique identifier |
98-
| administration_id | int | ID of the administration the time entry belongs to |
98+
| administration_id | string | ID of the administration the time entry belongs to |
9999
| contact_id | string | ID of the contact associated with the time entry (optional) |
100100
| project_id | string | ID of the project associated with the time entry (optional) |
101101
| user_id | int | ID of the user who created the time entry |

docs/src/content/docs/reference/webhooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ When working with webhooks, you'll have access to the following properties:
3131
| Property | Type | Description |
3232
|----------|------|-------------|
3333
| id | string | Unique identifier for the webhook |
34-
| administration_id | int | ID of the administration the webhook belongs to |
34+
| administration_id | string | ID of the administration the webhook belongs to |
3535
| url | string | URL that will receive the webhook notifications |
3636
| enabled_events | array | List of events the webhook is subscribed to |
3737
| last_http_status | int | Last HTTP status code received when delivering the webhook |

src/Api/Contacts/Contact.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Contact extends BaseDto
88
{
99
public string $id;
1010

11-
public int $administration_id;
11+
public string $administration_id;
1212

1313
public ?string $company_name;
1414

0 commit comments

Comments
 (0)