All URIs are relative to https://api-v2.fattureincloud.it, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| listArchiveCategories() | GET /c/{company_id}/info/archive_categories | List Archive Categories |
| listCities() | GET /info/cities | List Cities |
| listCostCenters() | GET /c/{company_id}/info/cost_centers | List Cost Centers |
| listCountries() | GET /info/countries | List Countries |
| listCurrencies() | GET /info/currencies | List Currencies |
| listDeliveryNotesDefaultCausals() | GET /info/dn_causals | List Delivery Notes Default Causals |
| listDetailedCountries() | GET /info/detailed_countries | List Detailed Countries |
| listLanguages() | GET /info/languages | List Languages |
| listPaymentAccounts() | GET /c/{company_id}/info/payment_accounts | List Payment Accounts |
| listPaymentMethods() | GET /c/{company_id}/info/payment_methods | List Payment Methods |
| listProductCategories() | GET /c/{company_id}/info/product_categories | List Product Categories |
| listReceivedDocumentCategories() | GET /c/{company_id}/info/received_document_categories | List Received Document Categories |
| listRevenueCenters() | GET /c/{company_id}/info/revenue_centers | List Revenue Centers |
| listTemplates() | GET /info/templates | List Templates |
| listUnitsOfMeasure() | GET /info/measures | List Units of Measure |
| listVatTypes() | GET /c/{company_id}/info/vat_types | List Vat Types |
listArchiveCategories($company_id): \FattureInCloud\Model\ListArchiveCategoriesResponseList Archive Categories
Lists the archive categories.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
try {
$result = $apiInstance->listArchiveCategories($company_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listArchiveCategories: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. |
\FattureInCloud\Model\ListArchiveCategoriesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listCities($postal_code, $city): \FattureInCloud\Model\ListCitiesResponseList Cities
Lists the Italian cities.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
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).
try {
$result = $apiInstance->listCities($postal_code, $city);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listCities: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| postal_code | string | Postal code for filtering. | [optional] |
| city | string | City for filtering (ignored if postal_code is passed). | [optional] |
\FattureInCloud\Model\ListCitiesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listCostCenters($company_id): \FattureInCloud\Model\ListCostCentersResponseList Cost Centers
Lists the cost centers.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
try {
$result = $apiInstance->listCostCenters($company_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listCostCenters: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. |
\FattureInCloud\Model\ListCostCentersResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listCountries(): \FattureInCloud\Model\ListCountriesResponseList Countries
Lists the supported countries.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listCountries();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listCountries: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\FattureInCloud\Model\ListCountriesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listCurrencies(): \FattureInCloud\Model\ListCurrenciesResponseList Currencies
Lists the supported currencies.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listCurrencies();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listCurrencies: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\FattureInCloud\Model\ListCurrenciesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listDeliveryNotesDefaultCausals(): \FattureInCloud\Model\ListDeliveryNotesDefaultCausalsResponseList Delivery Notes Default Causals
Lists the delivery note default causals.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listDeliveryNotesDefaultCausals();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listDeliveryNotesDefaultCausals: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\FattureInCloud\Model\ListDeliveryNotesDefaultCausalsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listDetailedCountries(): \FattureInCloud\Model\ListDetailedCountriesResponseList Detailed Countries
Lists the supported countries.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listDetailedCountries();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listDetailedCountries: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\FattureInCloud\Model\ListDetailedCountriesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listLanguages(): \FattureInCloud\Model\ListLanguagesResponseList Languages
Lists the supported languages.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listLanguages();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listLanguages: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\FattureInCloud\Model\ListLanguagesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listPaymentAccounts($company_id, $fields, $fieldset, $sort): \FattureInCloud\Model\ListPaymentAccountsResponseList Payment Accounts
Lists the available payment accounts.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
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).
try {
$result = $apiInstance->listPaymentAccounts($company_id, $fields, $fieldset, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listPaymentAccounts: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. | |
| fields | string | List of comma-separated fields. | [optional] |
| fieldset | string | Name of the fieldset. | [optional] |
| sort | string | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
\FattureInCloud\Model\ListPaymentAccountsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listPaymentMethods($company_id, $fields, $fieldset, $sort): \FattureInCloud\Model\ListPaymentMethodsResponseList Payment Methods
Lists the available payment methods.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
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).
try {
$result = $apiInstance->listPaymentMethods($company_id, $fields, $fieldset, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listPaymentMethods: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. | |
| fields | string | List of comma-separated fields. | [optional] |
| fieldset | string | Name of the fieldset. | [optional] |
| sort | string | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
\FattureInCloud\Model\ListPaymentMethodsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listProductCategories($company_id, $context): \FattureInCloud\Model\ListProductCategoriesResponseList Product Categories
Lists the product categories.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$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);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listProductCategories: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. | |
| context | string | Categories resource type. |
\FattureInCloud\Model\ListProductCategoriesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listReceivedDocumentCategories($company_id): \FattureInCloud\Model\ListReceivedDocumentCategoriesResponseList Received Document Categories
Lists the received document categories.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
try {
$result = $apiInstance->listReceivedDocumentCategories($company_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listReceivedDocumentCategories: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. |
\FattureInCloud\Model\ListReceivedDocumentCategoriesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listRevenueCenters($company_id): \FattureInCloud\Model\ListRevenueCentersResponseList Revenue Centers
Lists the revenue centers.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
try {
$result = $apiInstance->listRevenueCenters($company_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listRevenueCenters: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. |
\FattureInCloud\Model\ListRevenueCentersResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listTemplates($type, $by_type): \FattureInCloud\Model\ListTemplatesResponseList Templates
Lists the available templates.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
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.
try {
$result = $apiInstance->listTemplates($type, $by_type);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listTemplates: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| type | string | Type of the templates. | [optional] [default to 'all'] |
| by_type | bool | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional] [default to false] |
\FattureInCloud\Model\ListTemplatesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listUnitsOfMeasure(): \FattureInCloud\Model\ListUnitsOfMeasureResponseList Units of Measure
Lists the units of measure.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listUnitsOfMeasure();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listUnitsOfMeasure: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\FattureInCloud\Model\ListUnitsOfMeasureResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listVatTypes($company_id, $fieldset): \FattureInCloud\Model\ListVatTypesResponseList Vat Types
Lists the available vat types.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new FattureInCloud\Api\InfoApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$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);
} catch (Exception $e) {
echo 'Exception when calling InfoApi->listVatTypes: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| company_id | int | The ID of the company. | |
| fieldset | string | Name of the fieldset. | [optional] |
\FattureInCloud\Model\ListVatTypesResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]