@@ -312,7 +312,7 @@ Name | Type | Description | Notes
312312
313313## sendJsonPost
314314
315- > Send sendJsonPost(fatturaOrdinaria , opts)
315+ > Send sendJsonPost(body , opts)
316316
317317Add an invoice by json
318318
@@ -329,12 +329,12 @@ Basic.username = 'YOUR USERNAME';
329329Basic .password = ' YOUR PASSWORD' ;
330330
331331let apiInstance = new invoicetronicSdk.SendApi ();
332- let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria () ; // FatturaOrdinaria |
332+ let body = {key : null } ; // Object |
333333let opts = {
334334 ' validate' : false , // Boolean | Validate the document first, and reject it on failure.
335335 ' signature' : " 'Auto'" // String | Whether to digitally sign the document.
336336};
337- apiInstance .sendJsonPost (fatturaOrdinaria , opts).then ((data ) => {
337+ apiInstance .sendJsonPost (body , opts).then ((data ) => {
338338 console .log (' API called successfully. Returned data: ' + data);
339339}, (error ) => {
340340 console .error (error);
@@ -347,7 +347,7 @@ apiInstance.sendJsonPost(fatturaOrdinaria, opts).then((data) => {
347347
348348Name | Type | Description | Notes
349349------------- | ------------- | ------------- | -------------
350- ** fatturaOrdinaria ** | [ ** FatturaOrdinaria ** ] ( FatturaOrdinaria.md ) | |
350+ ** body ** | ** Object ** | |
351351 ** validate** | ** Boolean** | Validate the document first, and reject it on failure. | [ optional] [ default to false]
352352 ** signature** | ** String** | Whether to digitally sign the document. | [ optional] [ default to ' ; Auto' ; ]
353353
@@ -471,7 +471,7 @@ null (empty response body)
471471
472472## sendValidateJsonPost
473473
474- > sendValidateJsonPost(fatturaOrdinaria )
474+ > sendValidateJsonPost(body )
475475
476476Validate an invoice by json
477477
@@ -488,8 +488,8 @@ Basic.username = 'YOUR USERNAME';
488488Basic .password = ' YOUR PASSWORD' ;
489489
490490let apiInstance = new invoicetronicSdk.SendApi ();
491- let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria () ; // FatturaOrdinaria |
492- apiInstance .sendValidateJsonPost (fatturaOrdinaria ).then (() => {
491+ let body = {key : null } ; // Object |
492+ apiInstance .sendValidateJsonPost (body ).then (() => {
493493 console .log (' API called successfully.' );
494494}, (error ) => {
495495 console .error (error);
@@ -502,7 +502,7 @@ apiInstance.sendValidateJsonPost(fatturaOrdinaria).then(() => {
502502
503503Name | Type | Description | Notes
504504------------- | ------------- | ------------- | -------------
505- ** fatturaOrdinaria ** | [ ** FatturaOrdinaria ** ] ( FatturaOrdinaria.md ) | |
505+ ** body ** | ** Object ** | |
506506
507507### Return type
508508
@@ -569,7 +569,7 @@ null (empty response body)
569569
570570## sendValidateXmlPost
571571
572- > sendValidateXmlPost(fatturaOrdinaria )
572+ > sendValidateXmlPost(body )
573573
574574Validate an invoice by xml
575575
@@ -586,8 +586,8 @@ Basic.username = 'YOUR USERNAME';
586586Basic .password = ' YOUR PASSWORD' ;
587587
588588let apiInstance = new invoicetronicSdk.SendApi ();
589- let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria () ; // FatturaOrdinaria |
590- apiInstance .sendValidateXmlPost (fatturaOrdinaria ).then (() => {
589+ let body = {key : null } ; // Object |
590+ apiInstance .sendValidateXmlPost (body ).then (() => {
591591 console .log (' API called successfully.' );
592592}, (error ) => {
593593 console .error (error);
@@ -600,7 +600,7 @@ apiInstance.sendValidateXmlPost(fatturaOrdinaria).then(() => {
600600
601601Name | Type | Description | Notes
602602------------- | ------------- | ------------- | -------------
603- ** fatturaOrdinaria ** | [ ** FatturaOrdinaria ** ] ( FatturaOrdinaria.md ) | |
603+ ** body ** | ** Object ** | |
604604
605605### Return type
606606
@@ -618,7 +618,7 @@ null (empty response body)
618618
619619## sendXmlPost
620620
621- > Send sendXmlPost(fatturaOrdinaria , opts)
621+ > Send sendXmlPost(body , opts)
622622
623623Add an invoice by xml
624624
@@ -635,12 +635,12 @@ Basic.username = 'YOUR USERNAME';
635635Basic .password = ' YOUR PASSWORD' ;
636636
637637let apiInstance = new invoicetronicSdk.SendApi ();
638- let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria () ; // FatturaOrdinaria |
638+ let body = {key : null } ; // Object |
639639let opts = {
640640 ' validate' : false , // Boolean | Validate the document first, and reject it on failure.
641641 ' signature' : " 'Auto'" // String | Whether to digitally sign the document.
642642};
643- apiInstance .sendXmlPost (fatturaOrdinaria , opts).then ((data ) => {
643+ apiInstance .sendXmlPost (body , opts).then ((data ) => {
644644 console .log (' API called successfully. Returned data: ' + data);
645645}, (error ) => {
646646 console .error (error);
@@ -653,7 +653,7 @@ apiInstance.sendXmlPost(fatturaOrdinaria, opts).then((data) => {
653653
654654Name | Type | Description | Notes
655655------------- | ------------- | ------------- | -------------
656- ** fatturaOrdinaria ** | [ ** FatturaOrdinaria ** ] ( FatturaOrdinaria.md ) | |
656+ ** body ** | ** Object ** | |
657657 ** validate** | ** Boolean** | Validate the document first, and reject it on failure. | [ optional] [ default to false]
658658 ** signature** | ** String** | Whether to digitally sign the document. | [ optional] [ default to ' ; Auto' ; ]
659659
0 commit comments