@@ -370,7 +370,7 @@ try {
370370## `sendJsonPost()`
371371
372372```php
373- sendJsonPost($fattura_ordinaria , $validate, $signature): \Invoicetronic\Model\Send
373+ sendJsonPost($body , $validate, $signature): \Invoicetronic\Model\Send
374374```
375375
376376Add an invoice by json
@@ -396,12 +396,12 @@ $apiInstance = new Invoicetronic\Api\SendApi(
396396 new GuzzleHttp\Client(),
397397 $config
398398);
399- $fattura_ordinaria = new \Invoicetronic\Model\FatturaOrdinaria( ); // \Invoicetronic\Model\FatturaOrdinaria
399+ $body = array('key' => new \stdClass ); // object
400400$validate = false; // bool | Validate the document first, and reject it on failure.
401401$signature = 'Auto'; // string | Whether to digitally sign the document.
402402
403403try {
404- $result = $apiInstance->sendJsonPost($fattura_ordinaria , $validate, $signature);
404+ $result = $apiInstance->sendJsonPost($body , $validate, $signature);
405405 print_r($result);
406406} catch (Exception $e) {
407407 echo 'Exception when calling SendApi->sendJsonPost: ', $e->getMessage(), PHP_EOL;
@@ -412,7 +412,7 @@ try {
412412
413413| Name | Type | Description | Notes |
414414| ------------- | ------------- | ------------- | ------------- |
415- | **fattura_ordinaria ** | [**\Invoicetronic\Model\FatturaOrdinaria**](../Model/FatturaOrdinaria.md) | | |
415+ | **body ** | **object** | | |
416416| **validate** | **bool**| Validate the document first, and reject it on failure. | [optional] [default to false] |
417417| **signature** | **string**| Whether to digitally sign the document. | [optional] [default to 'Auto'] |
418418
@@ -563,7 +563,7 @@ void (empty response body)
563563## `sendValidateJsonPost()`
564564
565565```php
566- sendValidateJsonPost($fattura_ordinaria )
566+ sendValidateJsonPost($body )
567567```
568568
569569Validate an invoice by json
@@ -589,10 +589,10 @@ $apiInstance = new Invoicetronic\Api\SendApi(
589589 new GuzzleHttp\Client(),
590590 $config
591591);
592- $fattura_ordinaria = new \Invoicetronic\Model\FatturaOrdinaria( ); // \Invoicetronic\Model\FatturaOrdinaria
592+ $body = array('key' => new \stdClass ); // object
593593
594594try {
595- $apiInstance->sendValidateJsonPost($fattura_ordinaria );
595+ $apiInstance->sendValidateJsonPost($body );
596596} catch (Exception $e) {
597597 echo 'Exception when calling SendApi->sendValidateJsonPost: ', $e->getMessage(), PHP_EOL;
598598}
@@ -602,7 +602,7 @@ try {
602602
603603| Name | Type | Description | Notes |
604604| ------------- | ------------- | ------------- | ------------- |
605- | **fattura_ordinaria ** | [**\Invoicetronic\Model\FatturaOrdinaria**](../Model/FatturaOrdinaria.md) | | |
605+ | **body ** | **object** | | |
606606
607607### Return type
608608
@@ -685,7 +685,7 @@ void (empty response body)
685685## `sendValidateXmlPost()`
686686
687687```php
688- sendValidateXmlPost($fattura_ordinaria )
688+ sendValidateXmlPost($body )
689689```
690690
691691Validate an invoice by xml
@@ -711,10 +711,10 @@ $apiInstance = new Invoicetronic\Api\SendApi(
711711 new GuzzleHttp\Client(),
712712 $config
713713);
714- $fattura_ordinaria = new \Invoicetronic\Model\FatturaOrdinaria( ); // \Invoicetronic\Model\FatturaOrdinaria
714+ $body = array('key' => new \stdClass ); // object
715715
716716try {
717- $apiInstance->sendValidateXmlPost($fattura_ordinaria );
717+ $apiInstance->sendValidateXmlPost($body );
718718} catch (Exception $e) {
719719 echo 'Exception when calling SendApi->sendValidateXmlPost: ', $e->getMessage(), PHP_EOL;
720720}
@@ -724,7 +724,7 @@ try {
724724
725725| Name | Type | Description | Notes |
726726| ------------- | ------------- | ------------- | ------------- |
727- | **fattura_ordinaria ** | [**\Invoicetronic\Model\FatturaOrdinaria**](../Model/FatturaOrdinaria.md) | | |
727+ | **body ** | **object** | | |
728728
729729### Return type
730730
@@ -746,7 +746,7 @@ void (empty response body)
746746## `sendXmlPost()`
747747
748748```php
749- sendXmlPost($fattura_ordinaria , $validate, $signature): \Invoicetronic\Model\Send
749+ sendXmlPost($body , $validate, $signature): \Invoicetronic\Model\Send
750750```
751751
752752Add an invoice by xml
@@ -772,12 +772,12 @@ $apiInstance = new Invoicetronic\Api\SendApi(
772772 new GuzzleHttp\Client(),
773773 $config
774774);
775- $fattura_ordinaria = new \Invoicetronic\Model\FatturaOrdinaria( ); // \Invoicetronic\Model\FatturaOrdinaria
775+ $body = array('key' => new \stdClass ); // object
776776$validate = false; // bool | Validate the document first, and reject it on failure.
777777$signature = 'Auto'; // string | Whether to digitally sign the document.
778778
779779try {
780- $result = $apiInstance->sendXmlPost($fattura_ordinaria , $validate, $signature);
780+ $result = $apiInstance->sendXmlPost($body , $validate, $signature);
781781 print_r($result);
782782} catch (Exception $e) {
783783 echo 'Exception when calling SendApi->sendXmlPost: ', $e->getMessage(), PHP_EOL;
@@ -788,7 +788,7 @@ try {
788788
789789| Name | Type | Description | Notes |
790790| ------------- | ------------- | ------------- | ------------- |
791- | **fattura_ordinaria ** | [**\Invoicetronic\Model\FatturaOrdinaria**](../Model/FatturaOrdinaria.md) | | |
791+ | **body ** | **object** | | |
792792| **validate** | **bool**| Validate the document first, and reject it on failure. | [optional] [default to false] |
793793| **signature** | **string**| Whether to digitally sign the document. | [optional] [default to 'Auto'] |
794794
0 commit comments