Skip to content

api_client.api.AccountingInvoiceApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

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

deleteAccountingInvoice

deleteAccountingInvoice(id)

Example

import 'package:api_client/api.dart';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

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

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

exportReconcile

MultipartFile exportReconcile(request)

Example

import 'package:api_client/api.dart';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
request AccountingInvoiceQueryRequest [optional]

Return type

MultipartFile

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: application/octet-stream

[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';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

AccountingInvoiceServiceModel

Authorization

oauth2

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';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
request AccountingInvoiceQueryRequest [optional]

Return type

QueryResultAccountingInvoiceServiceModel

Authorization

oauth2

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';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
model AccountingInvoiceServiceModel [optional]

Return type

AccountingInvoiceServiceModel

Authorization

oauth2

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';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
request SendInvoiceRequest [optional]

Return type

AccountingInvoiceServiceModel

Authorization

oauth2

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