accounting_transaction
Changelog
November 02, 2025
- POST method to submit an accounting transaction in Powersoft 365.
|
GET /accounting_transaction
To get a specific accounting transaction.
/accounting_transaction?token=XXXXX&transaction_code_365=00101279
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| transaction_code_365 |
Accounting transaction code as is registered in 365 |
Returns
PUT /accounting_transaction
To modify an existing accounting transaction.
| field |
type |
description |
| api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
| accounting_transaction
|
| transaction_code_365 |
string |
The unique code of the accounting transaction in Powersoft365. |
| interface_flag |
string |
Interface flag. Only the 'processed' and 'unprocessed' values are allowed. |
| interface_status |
string |
Interface status. Only the 'failed' and 'passed' values are allowed. |
Returns the standard api_response object
POST /accounting_transaction
To create an accounting transaction.
| transaction
|
| header
|
| transaction_date |
string |
Transaction date in format yyyy-mm-dd. Required. |
| transaction_date |
string |
Transaction date in format yyyy-mm-dd. Required. |
| reference_number |
string |
Transaction reference number. Maximum length: 20 characters. Required. |
| transaction_description |
string |
Transaction description. Maximum length: 50 characters. Required. |
| transaction_type_code_365 |
string |
Transaction type code as registered in 365. The list of all transaction types can be taken using list_accounting_transactions_types. Required. |
| import_export_flag |
boolean |
If value is true indicates the transaction is for import/export. |
| is_euc |
boolean |
If value is true indicates the transaction is for any country belong to EU. |
| user_code |
string |
A user-defined code identifying the source of the transaction. This can be the code or name of your application. Maximum length: 35 characters. Required. |
| details
|
| account_code_365 |
string |
365 account code. Required. |
| account_posting_type |
string |
Direction of the account in transaction. Accepted values 'DR' for debit and 'CR' for credit. Required. |
| details |
string |
Short description of the transaction line. Maximum length: 30 characters. Required. |
| amount |
decimal |
Line amount. Cannot be zero or negative value. Required. |
| cheque_number |
string |
Cheque number. Maximum length: 20 characters. Optionally. |
| cheque_date |
string |
Cheque date in format yyyy-mm-dd. Optionally. |
Returns
Returns the standard api_response object. The Powersoft365 transaction code is returned in the response_id field.