Skip to content

api_client.api.BaseAccountingInvoiceApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteAccountingInvoice POST /deleteAccountingInvoice
getAccountingInvoice GET /getAccountingInvoice
getAccountingInvoices POST /getAccountingInvoices
saveAccountingInvoice POST /saveAccountingInvoice
sendInvoice POST /sendInvoice

deleteAccountingInvoice

deleteAccountingInvoice(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAccountingInvoiceApi();
var id = id_example; // String | 

try { 
    api_instance.deleteAccountingInvoice(id);
} catch (e) {
    print("Exception when calling BaseAccountingInvoiceApi->deleteAccountingInvoice: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getAccountingInvoice

AccountingInvoiceServiceModel getAccountingInvoice(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAccountingInvoiceApi();
var id = id_example; // String | 

try { 
    var result = api_instance.getAccountingInvoice(id);
    print(result);
} catch (e) {
    print("Exception when calling BaseAccountingInvoiceApi->getAccountingInvoice: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

AccountingInvoiceServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getAccountingInvoices

QueryResultAccountingInvoiceServiceModel getAccountingInvoices(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAccountingInvoiceApi();
var request = new AccountingInvoiceQueryRequest(); // AccountingInvoiceQueryRequest | 

try { 
    var result = api_instance.getAccountingInvoices(request);
    print(result);
} catch (e) {
    print("Exception when calling BaseAccountingInvoiceApi->getAccountingInvoices: $e\n");
}

Parameters

Name Type Description Notes
request AccountingInvoiceQueryRequest [optional]

Return type

QueryResultAccountingInvoiceServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

saveAccountingInvoice

AccountingInvoiceServiceModel saveAccountingInvoice(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAccountingInvoiceApi();
var model = new AccountingInvoiceServiceModel(); // AccountingInvoiceServiceModel | 

try { 
    var result = api_instance.saveAccountingInvoice(model);
    print(result);
} catch (e) {
    print("Exception when calling BaseAccountingInvoiceApi->saveAccountingInvoice: $e\n");
}

Parameters

Name Type Description Notes
model AccountingInvoiceServiceModel [optional]

Return type

AccountingInvoiceServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

sendInvoice

AccountingInvoiceServiceModel sendInvoice(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAccountingInvoiceApi();
var request = new SendInvoiceRequest(); // SendInvoiceRequest | 

try { 
    var result = api_instance.sendInvoice(request);
    print(result);
} catch (e) {
    print("Exception when calling BaseAccountingInvoiceApi->sendInvoice: $e\n");
}

Parameters

Name Type Description Notes
request SendInvoiceRequest [optional]

Return type

AccountingInvoiceServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]


Last update: July 4, 2020