Put Transactions
Creates a new invoice transaction
PUT /v1/Invoices/{invoiceGuid}/Transactions
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| invoiceGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| [].transactions | No | array of object or null List of transactions. |
| [].transactions[].transDate | Yes | string <date-time> Transaction date |
| [].transactions[].amount | Yes | number <double> Amount |
| [].transactions[].currencyCode | No | string or null Currency code |
| [].transactions[].exchangeDate | Yes | string <date-time> Exchange date |
| [].transactions[].exchangeRate | Yes | number <double> Exchange rate |
| [].transactions[].transType | Yes | integer <int32> Transaction type |
| [].transactions[].transSpecType | Yes | integer <int32> Transaction specification code |
| [].transactions[].status | Yes | integer <int32> Status |
| [].transactions[].paymentSource | No | string or null Payment source |
| [].transactions[].externalReference | No | string or null External reference |
| [].transactions[].note | No | string or null Note |
| [].transactions[].externallyAccountedFor | Yes | boolean Note |
Response fields
HTTP 201
| Field path | Mandatory | Description |
|---|---|---|
| import_Date | Yes | string <date-time> — |
| sum_Amount | Yes | number <double> — |
| number_Of_Transactions | Yes | integer <int32> — |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
