auto_expense


GET /auto_expense

To get a specific auto expense by code.

/auto_expense?token=XXXXX&auto_expense_code_365=0010

field description
token Credentials provided by Powersoft that allow access to the API
auto_expense_code_365 Auto expense code as is registered in 365

Returns

POST /auto_expense

To create an expense accounting transaction.


field type description
api_credentials
token string Credentials provided by Powersoft that allow access to the API
auto_expense
auto_expense_code_365 string 365 auto expense code. Required.
auto_transaction_date string Transaction date in format yyyy-mm-dd. Required.
auto_transaction_reference_number string Transaction reference number. Maximum length: 20 characters. Required.
net_amount decimal Net amount. Required.
vat_code_365 string 365 vat code. Required.
vat_percentage decimal Vat percentage. Required.
vat_amount decimal Vat amount. Required.
total_amount decimal Total amount. Required.
bank_code_365 string 365 bank code for payment. Required.
payment_cheque_number string Cheque number for payment. Maximum length: 20 characters. Optionally.
payment_cheque_date string Cheque date for payment in format yyyy-mm-dd. Optionally.
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.
auto_transaction_details string Short description of the transaction. Maximum length: 30 characters. Required.

Returns

Returns the standard api_response object. The Powersoft365 transaction code is returned in the response_id field.