---
title: "Create accounting entry"
method: POST
path: "/v1/accounting-entries"
tags: ["Accounting entry"]
---

# Create accounting entry

`POST /v1/accounting-entries`

Create an accounting entry. 

This endpoint generates an [Accounting entry created](https://developers.pismo.io/events/docs/accounting-entry-creation-1) event.

Refer to the [How to create accounting entries](https://developers.pismo.io/pismo-docs/docs/create-accounting-entries) guide for more information.

## Request body

- AccountingEntryPost
  - `amount` number, required — Accounting entry amount
  - `entry_type_id` integer, required — Entry type ID
  - `event_date` string, date, required — Event date
  - `program_id` integer, required — Related program ID
  - `account_id` integer — Related account ID, required if Transaction_ID is present.
  - `credit_accounting_account` string — Credit accounting account
  - `debit_accounting_account` string — Debit accounting account
  - `tracking_id` string — Tracking ID in UUID format, optional idempotence key. You can use [Online UUID Generator](https://www.uuidgenerator.net/version4) to generate a random UUID value.
  - `transaction_id` integer — Related transaction ID

## Response `202`

Request accepted but not processed yet.

- AccountingEntryPost
  - `amount` number, required — Accounting entry amount
  - `entry_type_id` integer, required — Entry type ID
  - `event_date` string, date, required — Event date
  - `program_id` integer, required — Related program ID
  - `account_id` integer — Related account ID, required if Transaction_ID is present.
  - `credit_accounting_account` string — Credit accounting account
  - `debit_accounting_account` string — Debit accounting account
  - `tracking_id` string — Tracking ID in UUID format, optional idempotence key. You can use [Online UUID Generator](https://www.uuidgenerator.net/version4) to generate a random UUID value.
  - `transaction_id` integer — Related transaction ID

## Other responses

- `400` — Bad request when a provided parameter is invalid.
- `409` — Conflict when TrackingId already exists.

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
