Skip to main content
GET
/
coa
/
api
/
transaction
/
{id}
Retrieve Chart Transaction
curl --request GET \
  --url https://api.meetcampfire.com/coa/api/transaction/{id} \
  --header 'Authorization: <api-key>'
{
  "id": 123,
  "is_deleted": false,
  "deleted_at": "2023-11-07T05:31:56Z",
  "entity_name": "<string>",
  "entity_currency": "<string>",
  "account_name": "<string>",
  "account_number": "<string>",
  "vendor_name": "<string>",
  "vendor_id": "<string>",
  "department_name": "<string>",
  "parent_department_name": "<string>",
  "parent_department": 123,
  "tags": [
    {
      "id": 123,
      "group_name": "<string>",
      "parent_name": "<string>",
      "parent": 123,
      "is_deleted": false,
      "deleted_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "last_modified_at": "2023-11-07T05:31:56Z",
      "customer": 123,
      "group": 123
    }
  ],
  "journal": 123,
  "journal_order": "<string>",
  "journal_memo": "<string>",
  "journal_type": "<string>",
  "intercompany_journal": 123,
  "created_automatically": true,
  "journal_attachments": [
    {
      "id": 123,
      "customer": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": 123,
      "created_by_name": "<string>",
      "created_by_email": "<string>",
      "last_modified_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "url": "<string>",
      "s3_content_type": "<string>",
      "s3_content_length": 1073741823,
      "s3_path": "<string>",
      "object_id": 1073741823,
      "app": "<string>",
      "model": "<string>",
      "is_deleted": false,
      "deleted_at": "2023-11-07T05:31:56Z"
    }
  ],
  "journal_type_name": "<string>",
  "invoice": "<string>",
  "bill": "<string>",
  "date_month": "<string>",
  "date_year": "<string>",
  "balance_after_transaction": 123,
  "bank_account": "<string>",
  "bank_account_name": "<string>",
  "account": 123,
  "last_modified_by_name": "<string>",
  "account_type": "<string>",
  "account_subtype": "<string>",
  "parent_account_name": "<string>",
  "files": "<string>",
  "invoice_id": 123,
  "invoice_number": "<string>",
  "bill_id": 123,
  "bill_number": "<string>",
  "file_names": "<string>",
  "has_matches": true,
  "amount": 0,
  "amount_native": 0,
  "amount_book": 0,
  "amortization_schedule": [
    {
      "id": 123,
      "journal_entry_order": "<string>",
      "date": "2023-12-25",
      "amount": 0,
      "posted": true,
      "amortization": 123,
      "customer": 123,
      "transaction": 123,
      "bill_line": 123,
      "journal_entry": 123
    }
  ],
  "created_fixed_assets": "<string>",
  "reconciliation_report": "<string>",
  "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "debit_amount": 0,
  "credit_amount": 0,
  "debit_amount_book": 0,
  "credit_amount_book": 0,
  "debit_amount_native": 0,
  "credit_amount_native": 0,
  "currency": "<string>",
  "exchange_rate": 0,
  "exchange_rate_book": 0,
  "posted_at": "2023-12-25",
  "merchant_name": "<string>",
  "bank_description": "<string>",
  "note": "<string>",
  "balance_before_transaction": 0,
  "created_at": "2023-11-07T05:31:56Z",
  "external_id": "<string>",
  "needs_review": true,
  "last_modified_at": "2023-11-07T05:31:56Z",
  "draft_matches": "<any>",
  "customer": 123,
  "entity": 123,
  "parent_bank_transaction": 123,
  "vendor": 123,
  "department": 123,
  "last_modified_by": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Response

200 - application/json
id
integer
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
entity_name
string
required
entity_currency
string
required
account_name
string
required

Combines account number and name in the format "number - name"

account_number
string
required
vendor_name
string
required
vendor_id
string
required
department_name
string
required
parent_department_name
string
required
parent_department
integer
required
tags
object[]
required
journal
integer
required
journal_order
string
required
journal_memo
string
required
journal_type
string
required
intercompany_journal
integer
required
created_automatically
boolean
required
journal_attachments
object[]
required
journal_type_name
string | null
required
invoice
string | null
required
bill
string | null
required
date_month
string | null
required
date_year
string | null
required
balance_after_transaction
number
required
bank_account
string
required
bank_account_name
string
required
last_modified_by_name
string
required
account_type
string
required
account_subtype
string
required
parent_account_name
string
required
files
string
required
invoice_id
integer
required
invoice_number
string
required
bill_id
integer
required
bill_number
string
required
file_names
string
required
has_matches
boolean
required
amount
number
required
Required range: -1000000000000000000 < x < 1000000000000000000
amount_native
number
required
Required range: -1000000000000000000 < x < 1000000000000000000
amount_book
number
required
Required range: -1000000000000000000 < x < 1000000000000000000
amortization_schedule
object[]
required
created_fixed_assets
string
required
reconciliation_report
string
required
transaction_id
string<uuid>
required
balance_before_transaction
number | null
required
Required range: -1000000000000000000 < x < 1000000000000000000
created_at
string<date-time>
required
last_modified_at
string<date-time>
required
customer
integer
required
entity
integer
required
account
integer | null
debit_amount
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
credit_amount
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
debit_amount_book
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
credit_amount_book
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
debit_amount_native
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
credit_amount_native
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
currency
string
Maximum length: 3
exchange_rate
number | null
Required range: -100000000000000 < x < 100000000000000
exchange_rate_book
number | null
Required range: -100000000000000 < x < 100000000000000
posted_at
string<date> | null
merchant_name
string | null
bank_description
string | null
note
string | null
external_id
string | null
needs_review
boolean
draft_matches
any
parent_bank_transaction
integer | null
vendor
integer | null
department
integer | null
last_modified_by
integer | null
I