Skip to content

Commit 00b0778

Browse files
author
Invoicetronic bot
committed
Publish SDKs for tag sdk-1.4
1 parent 260105f commit 00b0778

18 files changed

+3330
-96
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,14 @@ Class | Method | HTTP request | Description
117117
## Models
118118

119119
- [Company](docs/Model/Company.md)
120+
- [DocumentData](docs/Model/DocumentData.md)
121+
- [Error](docs/Model/Error.md)
120122
- [Event](docs/Model/Event.md)
123+
- [ProblemDetails](docs/Model/ProblemDetails.md)
124+
- [ProblemHttpResult](docs/Model/ProblemHttpResult.md)
121125
- [Receive](docs/Model/Receive.md)
122126
- [Send](docs/Model/Send.md)
127+
- [SendReduced](docs/Model/SendReduced.md)
123128
- [Status](docs/Model/Status.md)
124129
- [Update](docs/Model/Update.md)
125130
- [WebHook](docs/Model/WebHook.md)

docs/Api/SendApi.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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

376376
Add 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

403403
try {
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

569569
Validate 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

594594
try {
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

691691
Validate 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

716716
try {
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

752752
Add 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

779779
try {
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

docs/Model/DocumentData.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# # DocumentData
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**number** | **string** | | [optional]
8+
**date** | **\DateTime** | | [optional]
9+
10+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/Error.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# # Error
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**code** | **string** | Error code. | [optional]
8+
**description** | **string** | Error description. | [optional]
9+
**hint** | **string** | Hint on how to solve the issue. | [optional]
10+
11+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/ProblemDetails.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# # ProblemDetails
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**type** | **string** | | [optional]
8+
**title** | **string** | | [optional]
9+
**status** | **int** | | [optional]
10+
**detail** | **string** | | [optional]
11+
**instance** | **string** | | [optional]
12+
13+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/ProblemHttpResult.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# # ProblemHttpResult
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**problem_details** | [**\Invoicetronic\Model\ProblemDetails**](ProblemDetails.md) | | [optional]
8+
**content_type** | **string** | | [optional] [readonly]
9+
**status_code** | **int** | | [optional] [readonly]
10+
11+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/SendReduced.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# # SendReduced
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**identifier** | **string** | SDI identifier. | [optional]
8+
**prestatore** | **string** | VAT number of the Cedente/Prestatore (vendor). | [optional]
9+
**meta_data** | **array<string,string>** | Optional metadata, as json. | [optional]
10+
**documents** | [**\Invoicetronic\Model\DocumentData[]**](DocumentData.md) | The invoices included in the payload. | [optional]
11+
**date_sent** | **\DateTime** | When the invoice was sent to SDI. | [optional]
12+
13+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

0 commit comments

Comments
 (0)