TA Finance
  1. Transactions
TA Finance
  • Welcome!
  • Auth check
    • Check
      GET
  • Transactions
    • List
      GET
    • Create
      POST
    • Delete
      DELETE
  • Statements
    • Info
  • Counterparty
    • Info
  • Services
    • List
      GET
    • Create
      POST
  • Accounts
    • List
      GET
    • Create
      POST
  • Organizations
    • List
      GET
    • Create
      POST
  • Statistics
    • P&L
      POST
  1. Transactions

Create

POST
/api/v1/transaction
Submits a new transaction record after thorough validation of the input payload, ensuring that all financial details are accurately captured. The transaction is then integrated into the financial ledger while maintaining data integrity.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/transaction' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "realizationDate": "2025-01-01",
        "serviceId": 19,
        "counterpartyId": 18,
        "prepaymentAmount": 1000,
        "prepaymentDate": "2025-01-31",
        "prepaymentAccountId": 16,
        "postpaymentAmount": 1500,
        "postpaymentDate": "2025-01-31",
        "postpaymentAccountId": 16,
        "organizationId": 26,
        "type": "REVENUE"
    }
]'
Response Response Example
{
  "done": true,
  "created": [
    18
  ]
}
Modified at 2025-04-02 17:05:56
Previous
List
Next
Delete
Built with