Transactions
Create a manual transaction
Creates a manual transaction. Use projectId to assign it to a project. Requires an Idempotency-Key.
post/transactions
Request
- Base URL: https://next-api.saturation.io/v1
- URL: https://next-api.saturation.io/v1/transactions
- Auth: HTTP bearer
Headers
Idempotency-Keystring required
A unique 16-255 character key. Reusing the key with the same body returns the first result. Reusing it with a different body returns 409 idempotency_conflict.
Request body
Example request
{
"type": "Invoice",
"amount": {
"amount": 152900,
"currency": "USD"
},
"status": "posted",
"projectId": "txn_8f2a1c9e",
"contactId": "txn_8f2a1c9e",
"budgetLineId": "txn_8f2a1c9e",
"fringeId": "txn_8f2a1c9e"
}Response
The created transaction.
Example response
{
"id": "txn_8f2a1c9e",
"source": "manual",
"type": "CreditCard",
"status": "posted",
"amount": {
"amount": 152900,
"currency": "USD"
},
"exchangeRateSource": "bank",
"timestamp": "2026-05-20T14:03:00.000Z",
"contactId": "txn_8f2a1c9e",
"projectId": "txn_8f2a1c9e",
"budgetLineId": "txn_8f2a1c9e",
"fringeId": "txn_8f2a1c9e",
"purchaseOrderId": "txn_8f2a1c9e",
"contact": {
"id": "txn_8f2a1c9e"
},
"documents": [
{
"id": "txn_8f2a1c9e"
}
],
"items": [
{
"id": "txn_8f2a1c9e",
"lineNumber": "1",
"budgetLineId": "txn_8f2a1c9e",
"fringeId": "txn_8f2a1c9e",
"contactId": "txn_8f2a1c9e",
"qty": "3",
"unit": "Day",
"customUnitId": "txn_8f2a1c9e",
"amount": {
"amount": 152900,
"currency": "USD"
},
"account": {
"id": "txn_8f2a1c9e",
"name": "Camera",
"code": "1200"
},
"tagIds": [
"txn_8f2a1c9e"
],
"tags": [
{
"id": "txn_8f2a1c9e"
}
]
}
],
"account": {
"id": "txn_8f2a1c9e",
"name": "Camera",
"code": "1200"
},
"purchaseOrder": {
"id": "txn_8f2a1c9e"
}
}Changes
Changes to this operation have not been checked yet.