accounting
transaction

Retrieve a transaction

Changed on
get/accounting/{connection_id}/transaction/{id}

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/accounting/{connection_id}/transaction/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Transaction

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

memostring
total_amountnumber

negative for CREDIT, positive for DEBIT

tax_amountnumber

negative for CREDIT, positive for DEBIT

account_idstring

(reference to AccountingAccount)

referencestring
sub_total_amountnumber
split_account_idstring
payment_methodstring
payment_termsstring
customer_messagestring
typestring

eg. CreditCardCharge, Check, Invoice, ReceivePayment, JournalEntry, Bill, CreditCardCredit, VendorCredit, Credit, BillPaymentCheck, BillPaymentCreditCard, Charge, Transfer, Deposit, BANK_DEPOSIT, BANK_TRANSFER, Statement, BillableCharge, TimeActivity, CashPurchase, SalesReceipt, CreditMemo, CreditRefund, Estimate, InventoryQuantityAdjustment, PurchaseOrder, GlobalTaxPayment, GlobalTaxAdjustment, Service Tax Refund, Service Tax Gross Adjustment, Service Tax Reversal, Service Tax Defer, Service Tax Partial Utilisation

currencystring
organization_idstring
category_idsstring[]
project_idstring

(reference to TaskProject)

transaction_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

exchange_ratenumber

Exchange rate to the base/home currency at the transaction date

status'PENDING' | 'POSTED' | 'VOID' | 'OTHER'

Posting state of the transaction

rawobject

Changes

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status

    • info

      added the enum value exchange_rate to the property items/ of the query request parameter fields

    • info

      added the enum value status to the property items/ of the query request parameter fields

    • info

      added the enum value transaction_at to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status