POST
/
accounting
/
transactions
curl --request POST \
  --url https://api.maesn.dev/accounting/transactions \
  --header 'Content-Type: application/json' \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "accountId": "1",
  "contact": "eaa28f49-6028-4b6e-bb12-d8f6278073fc",
  "valueDate": "2021-01-01T00:00:00Z",
  "bookingDate": "2021-01-01T00:00:00Z",
  "purpose": "Fee payment",
  "amount": 100,
  "status": "CREATED",
  "reference": "Reference",
  "type": "RECEIVE",
  "code": "Code",
  "feeAmount": 123,
  "feeTaxRatePercentage": 123,
  "feePostingCategory": "Fee posting category"
}'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": {
    "id": "123456",
    "accountId": "1",
    "contact": "eaa28f49-6028-4b6e-bb12-d8f6278073fc",
    "valueDate": "2021-01-01T00:00:00Z",
    "bookingDate": "2021-01-01T00:00:00Z",
    "purpose": "Fee payment",
    "amount": 100,
    "status": "CREATED",
    "reference": "Reference",
    "type": "RECEIVE",
    "code": "Code",
    "feeAmount": 123,
    "feeTaxRatePercentage": 123,
    "feePostingCategory": "Fee posting category"
  }
}

Test Api token:

663222ee

Test Account token:

85b30b51

Field support per integration

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Body

application/json
accountId
string
required
Example:

"1"

contact
string
required
Example:

"eaa28f49-6028-4b6e-bb12-d8f6278073fc"

valueDate
string
required
Example:

"2021-01-01T00:00:00Z"

bookingDate
string
required
Example:

"2021-01-01T00:00:00Z"

purpose
string
required
Example:

"Fee payment"

amount
number
required
Example:

100

status
enum<string>
required
Available options:
CREATED,
LINKED,
PRIVATE,
BOOKED,
AUTHORISED,
DELETED
reference
string
Example:

"Reference"

type
enum<string>
Available options:
RECEIVE,
RECEIVE-OVERPAYMENT,
RECEIVE-PREPAYMENT,
SPEND,
SPEND-OVERPAYMENT,
SPEND-PREPAYMENT,
RECEIVE-TRANSFER,
SPEND-TRANSFER
code
string
Example:

"Code"

feeAmount
number
feeTaxRatePercentage
number
feePostingCategory
string
Example:

"Fee posting category"

Response

200 - application/json
meta
object
data
object