File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -174,10 +174,10 @@ $response = $client->getAll();
174174``` php
175175$client = $api->voucherlist();
176176
177- $client->size = 100;
178- $client->sortDirection = 'DESC';
179- $client->sortColumn = 'voucherNumber';
180- $client->types = [
177+ $client->voucherlist()-> size = 100;
178+ $client->voucherlist()-> sortDirection = 'DESC';
179+ $client->voucherlist()-> sortColumn = 'voucherNumber';
180+ $client->voucherlist()-> types = [
181181 'salesinvoice',
182182 'salescreditnote',
183183 'purchaseinvoice',
@@ -188,7 +188,7 @@ $client->types = [
188188 'orderconfirmation',
189189 'quotation'
190190];
191- $client->statuses = [
191+ $client->voucherlist()-> statuses = [
192192 'draft',
193193 'open',
194194 'paid',
@@ -200,13 +200,13 @@ $client->statuses = [
200200];
201201
202202// get everything what we can, not recommend:
203- //$client->setToEverything()
203+ //$client->voucherlist()-> setToEverything()
204204
205205// get a page
206- $response = $client->getPage(0);
206+ $response = $client->voucherlist()-> getPage(0);
207207
208208//get all
209- $response = $client->getAll();
209+ $response = $client->voucherlist()-> getAll();
210210```
211211
212212### 📁 File Endpoint
You can’t perform that action at this time.
0 commit comments