All URIs are relative to https://partnerexchange.azurewebsites.net
Method | HTTP request | Description |
---|---|---|
invoiceDetailSubmit | POST /api/invoicedetail/Submit | Submit an invoice detail (transaction). Send AFTER corresponding invoice record |
invoiceDetailTest | POST /api/invoicedetail/Test | Test an invoice detail record |
object invoiceDetailSubmit($type, $detail, $authorization)
Submit an invoice detail (transaction). Send AFTER corresponding invoice record
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new d2r_connectors\conficio\Api\InvoiceDetailApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$type = 'type_example'; // string | Exchange type (\"account\" or \"simpleaccount\")
$detail = new \d2r_connectors\conficio\Model\InvoiceDetail(); // \d2r_connectors\conficio\Model\InvoiceDetail | InvoiceDetail record
$authorization = 'authorization_example'; // string | access token
try {
$result = $apiInstance->invoiceDetailSubmit($type, $detail, $authorization);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InvoiceDetailApi->invoiceDetailSubmit: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | Exchange type ("account" or "simpleaccount") | |
detail | \d2r_connectors\conficio\Model\InvoiceDetail | InvoiceDetail record | |
authorization | string | access token | [optional] |
object
No authorization required
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object invoiceDetailTest($type, $detail, $authorization)
Test an invoice detail record
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new d2r_connectors\conficio\Api\InvoiceDetailApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$type = 'type_example'; // string | Exchange type (\"account\" or \"simpleaccount\")
$detail = new \d2r_connectors\conficio\Model\InvoiceDetail(); // \d2r_connectors\conficio\Model\InvoiceDetail | InvoiceDetail record
$authorization = 'authorization_example'; // string | access token
try {
$result = $apiInstance->invoiceDetailTest($type, $detail, $authorization);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InvoiceDetailApi->invoiceDetailTest: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | Exchange type ("account" or "simpleaccount") | |
detail | \d2r_connectors\conficio\Model\InvoiceDetail | InvoiceDetail record | |
authorization | string | access token | [optional] |
object
No authorization required
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]