diff --git a/docs/Api/ArchiveApi.md b/docs/Api/ArchiveApi.md index 38081f7..aa1ecbf 100644 --- a/docs/Api/ArchiveApi.md +++ b/docs/Api/ArchiveApi.md @@ -39,7 +39,9 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_archive_document_request = new \FattureInCloud\Model\CreateArchiveDocumentRequest; // \FattureInCloud\Model\CreateArchiveDocumentRequest | The Archive Document. +$company_id = 12345; // int | The ID of the company. +$create_archive_document_request = new \FattureInCloud\Model\CreateArchiveDocumentRequest; // \FattureInCloud\Model\CreateArchiveDocumentRequest | The Archive Document. + try { $result = $apiInstance->createArchiveDocument($company_id, $create_archive_document_request); print_r($result); @@ -99,7 +101,9 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteArchiveDocument($company_id, $document_id); } catch (Exception $e) { @@ -158,7 +162,11 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getArchiveDocument($company_id, $document_id, $fields, $fieldset); print_r($result); @@ -220,7 +228,14 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listArchiveDocuments($company_id, $fields, $fieldset, $sort, $page, $per_page, $q); print_r($result); @@ -285,7 +300,10 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_archive_document_request = new \FattureInCloud\Model\ModifyArchiveDocumentRequest; // \FattureInCloud\Model\ModifyArchiveDocumentRequest | Modified Archive Document +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$modify_archive_document_request = new \FattureInCloud\Model\ModifyArchiveDocumentRequest; // \FattureInCloud\Model\ModifyArchiveDocumentRequest | Modified Archive Document + try { $result = $apiInstance->modifyArchiveDocument($company_id, $document_id, $modify_archive_document_request); print_r($result); @@ -346,7 +364,10 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$filename = 'filename_example'; // string | Attachment file name$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] +$company_id = 12345; // int | The ID of the company. +$filename = 'filename_example'; // string | Attachment file name +$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] + try { $result = $apiInstance->uploadArchiveDocumentAttachment($company_id, $filename, $attachment); print_r($result); diff --git a/docs/Api/CashbookApi.md b/docs/Api/CashbookApi.md index 98a531b..ab7efd4 100644 --- a/docs/Api/CashbookApi.md +++ b/docs/Api/CashbookApi.md @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\CashbookApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_cashbook_entry_request = new \FattureInCloud\Model\CreateCashbookEntryRequest; // \FattureInCloud\Model\CreateCashbookEntryRequest | Cashbook entry. +$company_id = 12345; // int | The ID of the company. +$create_cashbook_entry_request = new \FattureInCloud\Model\CreateCashbookEntryRequest; // \FattureInCloud\Model\CreateCashbookEntryRequest | Cashbook entry. + try { $result = $apiInstance->createCashbookEntry($company_id, $create_cashbook_entry_request); print_r($result); @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\CashbookApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 'document_id_example'; // string | The ID of the document. + try { $apiInstance->deleteCashbookEntry($company_id, $document_id); } catch (Exception $e) { @@ -157,7 +161,11 @@ $apiInstance = new FattureInCloud\Api\CashbookApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$document_id = 'document_id_example'; // string | The ID of the document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getCashbookEntry($company_id, $document_id, $fields, $fieldset); print_r($result); @@ -219,7 +227,13 @@ $apiInstance = new FattureInCloud\Api\CashbookApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$date_from = 'date_from_example'; // string | Start date.$date_to = 'date_to_example'; // string | End date.$year = 56; // int | Filter cashbook by year.$type = 'type_example'; // string | Filter cashbook by type.$payment_account_id = 56; // int | Filter by payment account. +$company_id = 12345; // int | The ID of the company. +$date_from = 'date_from_example'; // string | Start date. +$date_to = 'date_to_example'; // string | End date. +$year = 56; // int | Filter cashbook by year. +$type = 'type_example'; // string | Filter cashbook by type. +$payment_account_id = 56; // int | Filter by payment account. + try { $result = $apiInstance->listCashbookEntries($company_id, $date_from, $date_to, $year, $type, $payment_account_id); print_r($result); @@ -283,7 +297,10 @@ $apiInstance = new FattureInCloud\Api\CashbookApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.$modify_cashbook_entry_request = new \FattureInCloud\Model\ModifyCashbookEntryRequest; // \FattureInCloud\Model\ModifyCashbookEntryRequest | Cashbook Entry +$company_id = 12345; // int | The ID of the company. +$document_id = 'document_id_example'; // string | The ID of the document. +$modify_cashbook_entry_request = new \FattureInCloud\Model\ModifyCashbookEntryRequest; // \FattureInCloud\Model\ModifyCashbookEntryRequest | Cashbook Entry + try { $result = $apiInstance->modifyCashbookEntry($company_id, $document_id, $modify_cashbook_entry_request); print_r($result); diff --git a/docs/Api/ClientsApi.md b/docs/Api/ClientsApi.md index 8a218c6..acd6c48 100644 --- a/docs/Api/ClientsApi.md +++ b/docs/Api/ClientsApi.md @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\ClientsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_client_request = new \FattureInCloud\Model\CreateClientRequest; // \FattureInCloud\Model\CreateClientRequest | The client to create +$company_id = 12345; // int | The ID of the company. +$create_client_request = new \FattureInCloud\Model\CreateClientRequest; // \FattureInCloud\Model\CreateClientRequest | The client to create + try { $result = $apiInstance->createClient($company_id, $create_client_request); print_r($result); @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\ClientsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client. +$company_id = 12345; // int | The ID of the company. +$client_id = 56; // int | The ID of the client. + try { $apiInstance->deleteClient($company_id, $client_id); } catch (Exception $e) { @@ -157,7 +161,11 @@ $apiInstance = new FattureInCloud\Api\ClientsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$client_id = 56; // int | The ID of the client. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getClient($company_id, $client_id, $fields, $fieldset); print_r($result); @@ -219,7 +227,14 @@ $apiInstance = new FattureInCloud\Api\ClientsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listClients($company_id, $fields, $fieldset, $sort, $page, $per_page, $q); print_r($result); @@ -284,7 +299,10 @@ $apiInstance = new FattureInCloud\Api\ClientsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.$modify_client_request = new \FattureInCloud\Model\ModifyClientRequest; // \FattureInCloud\Model\ModifyClientRequest | The modified Client. First level parameters are managed in delta mode. +$company_id = 12345; // int | The ID of the company. +$client_id = 56; // int | The ID of the client. +$modify_client_request = new \FattureInCloud\Model\ModifyClientRequest; // \FattureInCloud\Model\ModifyClientRequest | The modified Client. First level parameters are managed in delta mode. + try { $result = $apiInstance->modifyClient($company_id, $client_id, $modify_client_request); print_r($result); diff --git a/docs/Api/CompaniesApi.md b/docs/Api/CompaniesApi.md index 7fc615e..766c3c6 100644 --- a/docs/Api/CompaniesApi.md +++ b/docs/Api/CompaniesApi.md @@ -35,7 +35,8 @@ $apiInstance = new FattureInCloud\Api\CompaniesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->getCompanyInfo($company_id); print_r($result); @@ -94,7 +95,9 @@ $apiInstance = new FattureInCloud\Api\CompaniesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$category = 'category_example'; // string | Category +$company_id = 12345; // int | The ID of the company. +$category = 'category_example'; // string | Category + try { $result = $apiInstance->getCompanyPlanUsage($company_id, $category); print_r($result); diff --git a/docs/Api/EmailsApi.md b/docs/Api/EmailsApi.md index a40707c..6610390 100644 --- a/docs/Api/EmailsApi.md +++ b/docs/Api/EmailsApi.md @@ -34,7 +34,8 @@ $apiInstance = new FattureInCloud\Api\EmailsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->listEmails($company_id); print_r($result); diff --git a/docs/Api/InfoApi.md b/docs/Api/InfoApi.md index ebdb62d..6147d74 100644 --- a/docs/Api/InfoApi.md +++ b/docs/Api/InfoApi.md @@ -49,7 +49,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->listArchiveCategories($company_id); print_r($result); @@ -108,7 +109,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $postal_code = 'postal_code_example'; // string | Postal code for filtering.$city = 'city_example'; // string | City for filtering (ignored if postal_code is passed). +$postal_code = 'postal_code_example'; // string | Postal code for filtering. +$city = 'city_example'; // string | City for filtering (ignored if postal_code is passed). + try { $result = $apiInstance->listCities($postal_code, $city); print_r($result); @@ -168,7 +171,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->listCostCenters($company_id); print_r($result); @@ -227,7 +231,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listCountries(); print_r($result); @@ -284,7 +288,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listCurrencies(); print_r($result); @@ -341,7 +345,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listDeliveryNotesDefaultCausals(); print_r($result); @@ -398,7 +402,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listDetailedCountries(); print_r($result); @@ -455,7 +459,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listLanguages(); print_r($result); @@ -512,7 +516,11 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). + try { $result = $apiInstance->listPaymentAccounts($company_id, $fields, $fieldset, $sort); print_r($result); @@ -574,7 +582,11 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). + try { $result = $apiInstance->listPaymentMethods($company_id, $fields, $fieldset, $sort); print_r($result); @@ -636,7 +648,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$context = 'context_example'; // string | Categories resource type. +$company_id = 12345; // int | The ID of the company. +$context = 'context_example'; // string | Categories resource type. + try { $result = $apiInstance->listProductCategories($company_id, $context); print_r($result); @@ -696,7 +710,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->listReceivedDocumentCategories($company_id); print_r($result); @@ -755,7 +770,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->listRevenueCenters($company_id); print_r($result); @@ -814,7 +830,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $type = 'all'; // string | Type of the templates.$by_type = false; // bool | [Only if type=all] If true, splits the list in objects, grouping templates by type. +$type = 'all'; // string | Type of the templates. +$by_type = false; // bool | [Only if type=all] If true, splits the list in objects, grouping templates by type. + try { $result = $apiInstance->listTemplates($type, $by_type); print_r($result); @@ -874,7 +892,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listUnitsOfMeasure(); print_r($result); @@ -931,7 +949,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->listVatTypes($company_id, $fieldset); print_r($result); diff --git a/docs/Api/IssuedDocumentsApi.md b/docs/Api/IssuedDocumentsApi.md index 655d7a7..84d8ef6 100644 --- a/docs/Api/IssuedDocumentsApi.md +++ b/docs/Api/IssuedDocumentsApi.md @@ -47,7 +47,9 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_issued_document_request = new \FattureInCloud\Model\CreateIssuedDocumentRequest; // \FattureInCloud\Model\CreateIssuedDocumentRequest | The Issued Document +$company_id = 12345; // int | The ID of the company. +$create_issued_document_request = new \FattureInCloud\Model\CreateIssuedDocumentRequest; // \FattureInCloud\Model\CreateIssuedDocumentRequest | The Issued Document + try { $result = $apiInstance->createIssuedDocument($company_id, $create_issued_document_request); print_r($result); @@ -107,7 +109,9 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteIssuedDocument($company_id, $document_id); } catch (Exception $e) { @@ -166,7 +170,9 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteIssuedDocumentAttachment($company_id, $document_id); } catch (Exception $e) { @@ -225,7 +231,9 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $result = $apiInstance->getEmailData($company_id, $document_id); print_r($result); @@ -285,7 +293,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$get_existing_issued_document_totals_request = new \FattureInCloud\Model\GetExistingIssuedDocumentTotalsRequest; // \FattureInCloud\Model\GetExistingIssuedDocumentTotalsRequest +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$get_existing_issued_document_totals_request = new \FattureInCloud\Model\GetExistingIssuedDocumentTotalsRequest; // \FattureInCloud\Model\GetExistingIssuedDocumentTotalsRequest + try { $result = $apiInstance->getExistingIssuedDocumentTotals($company_id, $document_id, $get_existing_issued_document_totals_request); print_r($result); @@ -346,7 +357,11 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getIssuedDocument($company_id, $document_id, $fields, $fieldset); print_r($result); @@ -408,7 +423,9 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$type = 'type_example'; // string | The type of the issued document. +$company_id = 12345; // int | The ID of the company. +$type = 'type_example'; // string | The type of the issued document. + try { $result = $apiInstance->getIssuedDocumentPreCreateInfo($company_id, $type); print_r($result); @@ -468,7 +485,9 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$get_new_issued_document_totals_request = new \FattureInCloud\Model\GetNewIssuedDocumentTotalsRequest; // \FattureInCloud\Model\GetNewIssuedDocumentTotalsRequest +$company_id = 12345; // int | The ID of the company. +$get_new_issued_document_totals_request = new \FattureInCloud\Model\GetNewIssuedDocumentTotalsRequest; // \FattureInCloud\Model\GetNewIssuedDocumentTotalsRequest + try { $result = $apiInstance->getNewIssuedDocumentTotals($company_id, $get_new_issued_document_totals_request); print_r($result); @@ -528,7 +547,11 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$ids = 1,2,3,4; // string | Ids of the documents.$group = 56; // int | Group items.$type = delivery_notes, orders, quotes, work_reports; // string | Type of the documents to be joined +$company_id = 12345; // int | The ID of the company. +$ids = 1,2,3,4; // string | Ids of the documents. +$group = 56; // int | Group items. +$type = delivery_notes, orders, quotes, work_reports; // string | Type of the documents to be joined + try { $result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $type); print_r($result); @@ -590,7 +613,16 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$type = 'type_example'; // string | The type of the issued document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results.$inclusive = 56; // int | (Only for type = delivery_notes) Include invoices delivery notes. +$company_id = 12345; // int | The ID of the company. +$type = 'type_example'; // string | The type of the issued document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. +$inclusive = 56; // int | (Only for type = delivery_notes) Include invoices delivery notes. + try { $result = $apiInstance->listIssuedDocuments($company_id, $type, $fields, $fieldset, $sort, $page, $per_page, $q, $inclusive); print_r($result); @@ -657,7 +689,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_issued_document_request = new \FattureInCloud\Model\ModifyIssuedDocumentRequest; // \FattureInCloud\Model\ModifyIssuedDocumentRequest | The modified document +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$modify_issued_document_request = new \FattureInCloud\Model\ModifyIssuedDocumentRequest; // \FattureInCloud\Model\ModifyIssuedDocumentRequest | The modified document + try { $result = $apiInstance->modifyIssuedDocument($company_id, $document_id, $modify_issued_document_request); print_r($result); @@ -718,7 +753,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$schedule_email_request = new \FattureInCloud\Model\ScheduleEmailRequest; // \FattureInCloud\Model\ScheduleEmailRequest | Email Schedule +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$schedule_email_request = new \FattureInCloud\Model\ScheduleEmailRequest; // \FattureInCloud\Model\ScheduleEmailRequest | Email Schedule + try { $apiInstance->scheduleEmail($company_id, $document_id, $schedule_email_request); } catch (Exception $e) { @@ -778,7 +816,13 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$original_document_id = 56; // int | Original document id.$new_type = 'new_type_example'; // string | New document type.$type = 'type_example'; // string | Current document type.$e_invoice = 56; // int | New document e_invoice.$transform_keep_copy = 56; // int | Keep the old document. +$company_id = 12345; // int | The ID of the company. +$original_document_id = 56; // int | Original document id. +$new_type = 'new_type_example'; // string | New document type. +$type = 'type_example'; // string | Current document type. +$e_invoice = 56; // int | New document e_invoice. +$transform_keep_copy = 56; // int | Keep the old document. + try { $result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $type, $e_invoice, $transform_keep_copy); print_r($result); @@ -842,7 +886,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$filename = 'filename_example'; // string | Attachment file name$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] +$company_id = 12345; // int | The ID of the company. +$filename = 'filename_example'; // string | Attachment file name +$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] + try { $result = $apiInstance->uploadIssuedDocumentAttachment($company_id, $filename, $attachment); print_r($result); diff --git a/docs/Api/IssuedEInvoicesApi.md b/docs/Api/IssuedEInvoicesApi.md index 1607055..2692ea1 100644 --- a/docs/Api/IssuedEInvoicesApi.md +++ b/docs/Api/IssuedEInvoicesApi.md @@ -37,7 +37,9 @@ $apiInstance = new FattureInCloud\Api\IssuedEInvoicesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $result = $apiInstance->getEInvoiceRejectionReason($company_id, $document_id); print_r($result); @@ -97,7 +99,10 @@ $apiInstance = new FattureInCloud\Api\IssuedEInvoicesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$include_attachment = True; // bool | Include the attachment to the XML e-invoice. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$include_attachment = True; // bool | Include the attachment to the XML e-invoice. + try { $result = $apiInstance->getEInvoiceXml($company_id, $document_id, $include_attachment); print_r($result); @@ -158,7 +163,10 @@ $apiInstance = new FattureInCloud\Api\IssuedEInvoicesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$send_e_invoice_request = new \FattureInCloud\Model\SendEInvoiceRequest; // \FattureInCloud\Model\SendEInvoiceRequest | +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$send_e_invoice_request = new \FattureInCloud\Model\SendEInvoiceRequest; // \FattureInCloud\Model\SendEInvoiceRequest | + try { $result = $apiInstance->sendEInvoice($company_id, $document_id, $send_e_invoice_request); print_r($result); @@ -219,7 +227,9 @@ $apiInstance = new FattureInCloud\Api\IssuedEInvoicesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $result = $apiInstance->verifyEInvoiceXml($company_id, $document_id); print_r($result); diff --git a/docs/Api/ProductsApi.md b/docs/Api/ProductsApi.md index b9d4ae7..6cf8c08 100644 --- a/docs/Api/ProductsApi.md +++ b/docs/Api/ProductsApi.md @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\ProductsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_product_request = new \FattureInCloud\Model\CreateProductRequest; // \FattureInCloud\Model\CreateProductRequest | +$company_id = 12345; // int | The ID of the company. +$create_product_request = new \FattureInCloud\Model\CreateProductRequest; // \FattureInCloud\Model\CreateProductRequest | + try { $result = $apiInstance->createProduct($company_id, $create_product_request); print_r($result); @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\ProductsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$product_id = 56; // int | The ID of the product. +$company_id = 12345; // int | The ID of the company. +$product_id = 56; // int | The ID of the product. + try { $apiInstance->deleteProduct($company_id, $product_id); } catch (Exception $e) { @@ -157,7 +161,11 @@ $apiInstance = new FattureInCloud\Api\ProductsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$product_id = 56; // int | The ID of the product.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$product_id = 56; // int | The ID of the product. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getProduct($company_id, $product_id, $fields, $fieldset); print_r($result); @@ -219,7 +227,14 @@ $apiInstance = new FattureInCloud\Api\ProductsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listProducts($company_id, $fields, $fieldset, $sort, $page, $per_page, $q); print_r($result); @@ -284,7 +299,10 @@ $apiInstance = new FattureInCloud\Api\ProductsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$product_id = 56; // int | The ID of the product.$modify_product_request = new \FattureInCloud\Model\ModifyProductRequest; // \FattureInCloud\Model\ModifyProductRequest | Modified product details. +$company_id = 12345; // int | The ID of the company. +$product_id = 56; // int | The ID of the product. +$modify_product_request = new \FattureInCloud\Model\ModifyProductRequest; // \FattureInCloud\Model\ModifyProductRequest | Modified product details. + try { $result = $apiInstance->modifyProduct($company_id, $product_id, $modify_product_request); print_r($result); diff --git a/docs/Api/ReceiptsApi.md b/docs/Api/ReceiptsApi.md index 031a2d4..9a69a32 100644 --- a/docs/Api/ReceiptsApi.md +++ b/docs/Api/ReceiptsApi.md @@ -40,7 +40,9 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_receipt_request = new \FattureInCloud\Model\CreateReceiptRequest; // \FattureInCloud\Model\CreateReceiptRequest | The Receipt to create. +$company_id = 12345; // int | The ID of the company. +$create_receipt_request = new \FattureInCloud\Model\CreateReceiptRequest; // \FattureInCloud\Model\CreateReceiptRequest | The Receipt to create. + try { $result = $apiInstance->createReceipt($company_id, $create_receipt_request); print_r($result); @@ -100,7 +102,9 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteReceipt($company_id, $document_id); } catch (Exception $e) { @@ -159,7 +163,11 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getReceipt($company_id, $document_id, $fields, $fieldset); print_r($result); @@ -221,7 +229,8 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->getReceiptPreCreateInfo($company_id); print_r($result); @@ -280,7 +289,10 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$type = 'type_example'; // string | Receipt Type$year = 'year_example'; // string | Year for which you want monthly totals +$company_id = 12345; // int | The ID of the company. +$type = 'type_example'; // string | Receipt Type +$year = 'year_example'; // string | Year for which you want monthly totals + try { $result = $apiInstance->getReceiptsMonthlyTotals($company_id, $type, $year); print_r($result); @@ -341,7 +353,14 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listReceipts($company_id, $fields, $fieldset, $page, $per_page, $sort, $q); print_r($result); @@ -406,7 +425,10 @@ $apiInstance = new FattureInCloud\Api\ReceiptsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_receipt_request = new \FattureInCloud\Model\ModifyReceiptRequest; // \FattureInCloud\Model\ModifyReceiptRequest | Modified receipt. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$modify_receipt_request = new \FattureInCloud\Model\ModifyReceiptRequest; // \FattureInCloud\Model\ModifyReceiptRequest | Modified receipt. + try { $result = $apiInstance->modifyReceipt($company_id, $document_id, $modify_receipt_request); print_r($result); diff --git a/docs/Api/ReceivedDocumentsApi.md b/docs/Api/ReceivedDocumentsApi.md index 2684514..98c70df 100644 --- a/docs/Api/ReceivedDocumentsApi.md +++ b/docs/Api/ReceivedDocumentsApi.md @@ -43,7 +43,9 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_received_document_request = new \FattureInCloud\Model\CreateReceivedDocumentRequest; // \FattureInCloud\Model\CreateReceivedDocumentRequest | Document to create +$company_id = 12345; // int | The ID of the company. +$create_received_document_request = new \FattureInCloud\Model\CreateReceivedDocumentRequest; // \FattureInCloud\Model\CreateReceivedDocumentRequest | Document to create + try { $result = $apiInstance->createReceivedDocument($company_id, $create_received_document_request); print_r($result); @@ -103,7 +105,9 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteReceivedDocument($company_id, $document_id); } catch (Exception $e) { @@ -162,7 +166,9 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteReceivedDocumentAttachment($company_id, $document_id); } catch (Exception $e) { @@ -221,7 +227,10 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$get_existing_received_document_totals_request = new \FattureInCloud\Model\GetExistingReceivedDocumentTotalsRequest; // \FattureInCloud\Model\GetExistingReceivedDocumentTotalsRequest | Received document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$get_existing_received_document_totals_request = new \FattureInCloud\Model\GetExistingReceivedDocumentTotalsRequest; // \FattureInCloud\Model\GetExistingReceivedDocumentTotalsRequest | Received document. + try { $result = $apiInstance->getExistingReceivedDocumentTotals($company_id, $document_id, $get_existing_received_document_totals_request); print_r($result); @@ -282,7 +291,9 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$get_new_received_document_totals_request = new \FattureInCloud\Model\GetNewReceivedDocumentTotalsRequest; // \FattureInCloud\Model\GetNewReceivedDocumentTotalsRequest | Received document. +$company_id = 12345; // int | The ID of the company. +$get_new_received_document_totals_request = new \FattureInCloud\Model\GetNewReceivedDocumentTotalsRequest; // \FattureInCloud\Model\GetNewReceivedDocumentTotalsRequest | Received document. + try { $result = $apiInstance->getNewReceivedDocumentTotals($company_id, $get_new_received_document_totals_request); print_r($result); @@ -342,7 +353,11 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getReceivedDocument($company_id, $document_id, $fields, $fieldset); print_r($result); @@ -404,7 +419,9 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$type = 'type_example'; // string | The type of the received document. +$company_id = 12345; // int | The ID of the company. +$type = 'type_example'; // string | The type of the received document. + try { $result = $apiInstance->getReceivedDocumentPreCreateInfo($company_id, $type); print_r($result); @@ -464,7 +481,15 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$type = 'type_example'; // string | The type of the received document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$type = 'type_example'; // string | The type of the received document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listReceivedDocuments($company_id, $type, $fields, $fieldset, $sort, $page, $per_page, $q); print_r($result); @@ -530,7 +555,10 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_received_document_request = new \FattureInCloud\Model\ModifyReceivedDocumentRequest; // \FattureInCloud\Model\ModifyReceivedDocumentRequest | Modified document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$modify_received_document_request = new \FattureInCloud\Model\ModifyReceivedDocumentRequest; // \FattureInCloud\Model\ModifyReceivedDocumentRequest | Modified document. + try { $result = $apiInstance->modifyReceivedDocument($company_id, $document_id, $modify_received_document_request); print_r($result); @@ -591,7 +619,10 @@ $apiInstance = new FattureInCloud\Api\ReceivedDocumentsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$filename = 'filename_example'; // string | Attachment file name$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] +$company_id = 12345; // int | The ID of the company. +$filename = 'filename_example'; // string | Attachment file name +$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] + try { $result = $apiInstance->uploadReceivedDocumentAttachment($company_id, $filename, $attachment); print_r($result); diff --git a/docs/Api/SettingsApi.md b/docs/Api/SettingsApi.md index f1754e2..571652a 100644 --- a/docs/Api/SettingsApi.md +++ b/docs/Api/SettingsApi.md @@ -46,7 +46,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_payment_account_request = new \FattureInCloud\Model\CreatePaymentAccountRequest; // \FattureInCloud\Model\CreatePaymentAccountRequest +$company_id = 12345; // int | The ID of the company. +$create_payment_account_request = new \FattureInCloud\Model\CreatePaymentAccountRequest; // \FattureInCloud\Model\CreatePaymentAccountRequest + try { $result = $apiInstance->createPaymentAccount($company_id, $create_payment_account_request); print_r($result); @@ -106,7 +108,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_payment_method_request = new \FattureInCloud\Model\CreatePaymentMethodRequest; // \FattureInCloud\Model\CreatePaymentMethodRequest +$company_id = 12345; // int | The ID of the company. +$create_payment_method_request = new \FattureInCloud\Model\CreatePaymentMethodRequest; // \FattureInCloud\Model\CreatePaymentMethodRequest + try { $result = $apiInstance->createPaymentMethod($company_id, $create_payment_method_request); print_r($result); @@ -166,7 +170,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_vat_type_request = new \FattureInCloud\Model\CreateVatTypeRequest; // \FattureInCloud\Model\CreateVatTypeRequest | +$company_id = 12345; // int | The ID of the company. +$create_vat_type_request = new \FattureInCloud\Model\CreateVatTypeRequest; // \FattureInCloud\Model\CreateVatTypeRequest | + try { $result = $apiInstance->createVatType($company_id, $create_vat_type_request); print_r($result); @@ -226,7 +232,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$payment_account_id = 56; // int | The Referred Payment Account Id. +$company_id = 12345; // int | The ID of the company. +$payment_account_id = 56; // int | The Referred Payment Account Id. + try { $apiInstance->deletePaymentAccount($company_id, $payment_account_id); } catch (Exception $e) { @@ -285,7 +293,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$payment_method_id = 56; // int | The Referred Payment Method Id. +$company_id = 12345; // int | The ID of the company. +$payment_method_id = 56; // int | The Referred Payment Method Id. + try { $apiInstance->deletePaymentMethod($company_id, $payment_method_id); } catch (Exception $e) { @@ -344,7 +354,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$vat_type_id = 56; // int | The Referred Vat Type Id. +$company_id = 12345; // int | The ID of the company. +$vat_type_id = 56; // int | The Referred Vat Type Id. + try { $apiInstance->deleteVatType($company_id, $vat_type_id); } catch (Exception $e) { @@ -403,7 +415,11 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$payment_account_id = 56; // int | The Referred Payment Account Id.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$payment_account_id = 56; // int | The Referred Payment Account Id. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getPaymentAccount($company_id, $payment_account_id, $fields, $fieldset); print_r($result); @@ -465,7 +481,11 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$payment_method_id = 56; // int | The Referred Payment Method Id.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$payment_method_id = 56; // int | The Referred Payment Method Id. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getPaymentMethod($company_id, $payment_method_id, $fields, $fieldset); print_r($result); @@ -527,7 +547,8 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->getTaxProfile($company_id); print_r($result); @@ -586,7 +607,9 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$vat_type_id = 56; // int | The Referred Vat Type Id. +$company_id = 12345; // int | The ID of the company. +$vat_type_id = 56; // int | The Referred Vat Type Id. + try { $result = $apiInstance->getVatType($company_id, $vat_type_id); print_r($result); @@ -646,7 +669,10 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$payment_account_id = 56; // int | The Referred Payment Account Id.$modify_payment_account_request = new \FattureInCloud\Model\ModifyPaymentAccountRequest; // \FattureInCloud\Model\ModifyPaymentAccountRequest +$company_id = 12345; // int | The ID of the company. +$payment_account_id = 56; // int | The Referred Payment Account Id. +$modify_payment_account_request = new \FattureInCloud\Model\ModifyPaymentAccountRequest; // \FattureInCloud\Model\ModifyPaymentAccountRequest + try { $result = $apiInstance->modifyPaymentAccount($company_id, $payment_account_id, $modify_payment_account_request); print_r($result); @@ -707,7 +733,10 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$payment_method_id = 56; // int | The Referred Payment Method Id.$modify_payment_method_request = new \FattureInCloud\Model\ModifyPaymentMethodRequest; // \FattureInCloud\Model\ModifyPaymentMethodRequest | +$company_id = 12345; // int | The ID of the company. +$payment_method_id = 56; // int | The Referred Payment Method Id. +$modify_payment_method_request = new \FattureInCloud\Model\ModifyPaymentMethodRequest; // \FattureInCloud\Model\ModifyPaymentMethodRequest | + try { $result = $apiInstance->modifyPaymentMethod($company_id, $payment_method_id, $modify_payment_method_request); print_r($result); @@ -768,7 +797,10 @@ $apiInstance = new FattureInCloud\Api\SettingsApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$vat_type_id = 56; // int | The Referred Vat Type Id.$modify_vat_type_request = new \FattureInCloud\Model\ModifyVatTypeRequest; // \FattureInCloud\Model\ModifyVatTypeRequest +$company_id = 12345; // int | The ID of the company. +$vat_type_id = 56; // int | The Referred Vat Type Id. +$modify_vat_type_request = new \FattureInCloud\Model\ModifyVatTypeRequest; // \FattureInCloud\Model\ModifyVatTypeRequest + try { $result = $apiInstance->modifyVatType($company_id, $vat_type_id, $modify_vat_type_request); print_r($result); diff --git a/docs/Api/SuppliersApi.md b/docs/Api/SuppliersApi.md index 5c783e2..f4f56c1 100644 --- a/docs/Api/SuppliersApi.md +++ b/docs/Api/SuppliersApi.md @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\SuppliersApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_supplier_request = new \FattureInCloud\Model\CreateSupplierRequest; // \FattureInCloud\Model\CreateSupplierRequest | The supplier to create +$company_id = 12345; // int | The ID of the company. +$create_supplier_request = new \FattureInCloud\Model\CreateSupplierRequest; // \FattureInCloud\Model\CreateSupplierRequest | The supplier to create + try { $result = $apiInstance->createSupplier($company_id, $create_supplier_request); print_r($result); @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\SuppliersApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$supplier_id = 56; // int | The ID of the supplier. +$company_id = 12345; // int | The ID of the company. +$supplier_id = 56; // int | The ID of the supplier. + try { $apiInstance->deleteSupplier($company_id, $supplier_id); } catch (Exception $e) { @@ -157,7 +161,11 @@ $apiInstance = new FattureInCloud\Api\SuppliersApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$supplier_id = 56; // int | The ID of the supplier.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$supplier_id = 56; // int | The ID of the supplier. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getSupplier($company_id, $supplier_id, $fields, $fieldset); print_r($result); @@ -219,7 +227,14 @@ $apiInstance = new FattureInCloud\Api\SuppliersApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listSuppliers($company_id, $fields, $fieldset, $sort, $page, $per_page, $q); print_r($result); @@ -284,7 +299,10 @@ $apiInstance = new FattureInCloud\Api\SuppliersApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$supplier_id = 56; // int | The ID of the supplier.$modify_supplier_request = new \FattureInCloud\Model\ModifySupplierRequest; // \FattureInCloud\Model\ModifySupplierRequest | The modified Supplier. First level parameters are managed in delta mode. +$company_id = 12345; // int | The ID of the company. +$supplier_id = 56; // int | The ID of the supplier. +$modify_supplier_request = new \FattureInCloud\Model\ModifySupplierRequest; // \FattureInCloud\Model\ModifySupplierRequest | The modified Supplier. First level parameters are managed in delta mode. + try { $result = $apiInstance->modifySupplier($company_id, $supplier_id, $modify_supplier_request); print_r($result); diff --git a/docs/Api/TaxesApi.md b/docs/Api/TaxesApi.md index 84fdc97..6e7c354 100644 --- a/docs/Api/TaxesApi.md +++ b/docs/Api/TaxesApi.md @@ -40,7 +40,9 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_f24_request = new \FattureInCloud\Model\CreateF24Request; // \FattureInCloud\Model\CreateF24Request | The F24 to create +$company_id = 12345; // int | The ID of the company. +$create_f24_request = new \FattureInCloud\Model\CreateF24Request; // \FattureInCloud\Model\CreateF24Request | The F24 to create + try { $result = $apiInstance->createF24($company_id, $create_f24_request); print_r($result); @@ -100,7 +102,9 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteF24($company_id, $document_id); } catch (Exception $e) { @@ -159,7 +163,9 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. + try { $apiInstance->deleteF24Attachment($company_id, $document_id); } catch (Exception $e) { @@ -218,7 +224,11 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. + try { $result = $apiInstance->getF24($company_id, $document_id, $fields, $fieldset); print_r($result); @@ -280,7 +290,14 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results. +$company_id = 12345; // int | The ID of the company. +$fields = 'fields_example'; // string | List of comma-separated fields. +$fieldset = 'fieldset_example'; // string | Name of the fieldset. +$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting). +$page = 1; // int | The page to retrieve. +$per_page = 5; // int | The size of the page. +$q = 'q_example'; // string | Query for filtering the results. + try { $result = $apiInstance->listF24($company_id, $fields, $fieldset, $sort, $page, $per_page, $q); print_r($result); @@ -345,7 +362,10 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_f24_request = new \FattureInCloud\Model\ModifyF24Request; // \FattureInCloud\Model\ModifyF24Request | The F24 +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$modify_f24_request = new \FattureInCloud\Model\ModifyF24Request; // \FattureInCloud\Model\ModifyF24Request | The F24 + try { $result = $apiInstance->modifyF24($company_id, $document_id, $modify_f24_request); print_r($result); @@ -406,7 +426,10 @@ $apiInstance = new FattureInCloud\Api\TaxesApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$filename = 'filename_example'; // string | Attachment file name$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] +$company_id = 12345; // int | The ID of the company. +$filename = 'filename_example'; // string | Attachment file name +$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] + try { $result = $apiInstance->uploadF24Attachment($company_id, $filename, $attachment); print_r($result); diff --git a/docs/Api/UserApi.md b/docs/Api/UserApi.md index 6f0b5fe..0edb9dd 100644 --- a/docs/Api/UserApi.md +++ b/docs/Api/UserApi.md @@ -35,7 +35,7 @@ $apiInstance = new FattureInCloud\Api\UserApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->getUserInfo(); print_r($result); @@ -92,7 +92,7 @@ $apiInstance = new FattureInCloud\Api\UserApi( new GuzzleHttp\Client(), $config ); - + try { $result = $apiInstance->listUserCompanies(); print_r($result); diff --git a/docs/Api/WebhooksApi.md b/docs/Api/WebhooksApi.md index e765172..d1fbe97 100644 --- a/docs/Api/WebhooksApi.md +++ b/docs/Api/WebhooksApi.md @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\WebhooksApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$create_webhooks_subscription_request = new \FattureInCloud\Model\CreateWebhooksSubscriptionRequest; // \FattureInCloud\Model\CreateWebhooksSubscriptionRequest | +$company_id = 12345; // int | The ID of the company. +$create_webhooks_subscription_request = new \FattureInCloud\Model\CreateWebhooksSubscriptionRequest; // \FattureInCloud\Model\CreateWebhooksSubscriptionRequest | + try { $result = $apiInstance->createWebhooksSubscription($company_id, $create_webhooks_subscription_request); print_r($result); @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\WebhooksApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$subscription_id = SUB123; // string | The ID of the subscription. +$company_id = 12345; // int | The ID of the company. +$subscription_id = SUB123; // string | The ID of the subscription. + try { $apiInstance->deleteWebhooksSubscription($company_id, $subscription_id); } catch (Exception $e) { @@ -157,7 +161,9 @@ $apiInstance = new FattureInCloud\Api\WebhooksApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$subscription_id = SUB123; // string | The ID of the subscription. +$company_id = 12345; // int | The ID of the company. +$subscription_id = SUB123; // string | The ID of the subscription. + try { $result = $apiInstance->getWebhooksSubscription($company_id, $subscription_id); print_r($result); @@ -217,7 +223,8 @@ $apiInstance = new FattureInCloud\Api\WebhooksApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company. +$company_id = 12345; // int | The ID of the company. + try { $result = $apiInstance->listWebhooksSubscriptions($company_id); print_r($result); @@ -276,7 +283,10 @@ $apiInstance = new FattureInCloud\Api\WebhooksApi( new GuzzleHttp\Client(), $config ); - $company_id = 12345; // int | The ID of the company.$subscription_id = SUB123; // string | The ID of the subscription.$modify_webhooks_subscription_request = new \FattureInCloud\Model\ModifyWebhooksSubscriptionRequest; // \FattureInCloud\Model\ModifyWebhooksSubscriptionRequest +$company_id = 12345; // int | The ID of the company. +$subscription_id = SUB123; // string | The ID of the subscription. +$modify_webhooks_subscription_request = new \FattureInCloud\Model\ModifyWebhooksSubscriptionRequest; // \FattureInCloud\Model\ModifyWebhooksSubscriptionRequest + try { $result = $apiInstance->modifyWebhooksSubscription($company_id, $subscription_id, $modify_webhooks_subscription_request); print_r($result);