The Transaction
common model includes records of all types of transactions that do not appear in other common models. The type of transaction can be identified through the type field. More specifically, it will contain all types of transactions outside of:
- Credit Notes
- Expenses
- Invoices
- Journal Entries
- Payments
- Purchase Orders
- Vendor Credits
id
UUIDremote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)transaction_type
Stringnumber
Stringtransaction_date
DateTime (ISO 8601)account
UUIDcontact
UUIDinclusive_of_tax
BooleanTrue
if inclusive, False
if exclusive.total_amount
Stringcurrency
EnumXUA
, AFN
, AFA
, ALL
, ALK
, DZD
, ADP
, AOA
, AOK
, AON
, AOR
, ARA
, ARS
, ARM
, ARP
, ARL
, AMD
, AWG
, AUD
, ATS
, AZN
, AZM
, BSD
, BHD
, BDT
, BBD
, BYN
, BYB
, BYR
, BEF
, BEC
, BEL
, BZD
, BMD
, BTN
, BOB
, BOL
, BOV
, BOP
, BAM
, BAD
, BAN
, BWP
, BRC
, BRZ
, BRE
, BRR
, BRN
, BRB
, BRL
, GBP
, BND
, BGL
, BGN
, BGO
, BGM
, BUK
, BIF
, XPF
, KHR
, CAD
, CVE
, KYD
, XAF
, CLE
, CLP
, CLF
, CNX
, CNY
, CNH
, COP
, COU
, KMF
, CDF
, CRC
, HRD
, HRK
, CUC
, CUP
, CYP
, CZK
, CSK
, DKK
, DJF
, DOP
, NLG
, XCD
, DDM
, ECS
, ECV
, EGP
, GQE
, ERN
, EEK
, ETB
, EUR
, XBA
, XEU
, XBB
, XBC
, XBD
, FKP
, FJD
, FIM
, FRF
, XFO
, XFU
, GMD
, GEK
, GEL
, DEM
, GHS
, GHC
, GIP
, XAU
, GRD
, GTQ
, GWP
, GNF
, GNS
, GYD
, HTG
, HNL
, HKD
, HUF
, IMP
, ISK
, ISJ
, INR
, IDR
, IRR
, IQD
, IEP
, ILS
, ILP
, ILR
, ITL
, JMD
, JPY
, JOD
, KZT
, KES
, KWD
, KGS
, LAK
, LVL
, LVR
, LBP
, LSL
, LRD
, LYD
, LTL
, LTT
, LUL
, LUC
, LUF
, MOP
, MKD
, MKN
, MGA
, MGF
, MWK
, MYR
, MVR
, MVP
, MLF
, MTL
, MTP
, MRU
, MRO
, MUR
, MXV
, MXN
, MXP
, MDC
, MDL
, MCF
, MNT
, MAD
, MAF
, MZE
, MZN
, MZM
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NIC
, NGN
, KPW
, NOK
, OMR
, PKR
, XPD
, PAB
, PGK
, PYG
, PEI
, PEN
, PES
, PHP
, XPT
, PLN
, PLZ
, PTE
, GWE
, QAR
, XRE
, RHD
, RON
, ROL
, RUB
, RUR
, RWF
, SVC
, WST
, SAR
, RSD
, CSD
, SCR
, SLL
, XAG
, SGD
, SKK
, SIT
, SBD
, SOS
, ZAR
, ZAL
, KRH
, KRW
, KRO
, SSP
, SUR
, ESP
, ESA
, ESB
, XDR
, LKR
, SHP
, XSU
, SDD
, SDG
, SDP
, SRD
, SRG
, SZL
, SEK
, CHF
, SYP
, STN
, STD
, TVD
, TJR
, TJS
, TZS
, XTS
, THB
, XXX
, TPE
, TOP
, TTD
, TND
, TRY
, TRL
, TMT
, TMM
, USD
, USN
, USS
, UGX
, UGS
, UAH
, UAK
, AED
, UYW
, UYU
, UYP
, UYI
, UZS
, VUV
, VES
, VEB
, VEF
, VND
, VNN
, CHE
, CHW
, XOF
, YDD
, YER
, YUN
, YUD
, YUM
, YUR
, ZWN
, ZRN
, ZRZ
, ZMW
, ZMK
, ZWD
, ZWR
, ZWL
. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.exchange_rate
Stringcompany
UUIDtracking_categories
Arrayline_items
TransactionLineItem[]TransactionLineItem
object is used to represent a transaction's line items.id
UUIDremote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)memo
Stringunit_price
Stringquantity
Stringitem
UUIDaccount
UUIDtracking_category
UUIDDeprecatedThe tracking_category
field on the TransactionLineItem
object is deprecated
tracking_categories
Arraytotal_line_amount
Stringtax_rate
UUIDcurrency
EnumXUA
, AFN
, AFA
, ALL
, ALK
, DZD
, ADP
, AOA
, AOK
, AON
, AOR
, ARA
, ARS
, ARM
, ARP
, ARL
, AMD
, AWG
, AUD
, ATS
, AZN
, AZM
, BSD
, BHD
, BDT
, BBD
, BYN
, BYB
, BYR
, BEF
, BEC
, BEL
, BZD
, BMD
, BTN
, BOB
, BOL
, BOV
, BOP
, BAM
, BAD
, BAN
, BWP
, BRC
, BRZ
, BRE
, BRR
, BRN
, BRB
, BRL
, GBP
, BND
, BGL
, BGN
, BGO
, BGM
, BUK
, BIF
, XPF
, KHR
, CAD
, CVE
, KYD
, XAF
, CLE
, CLP
, CLF
, CNX
, CNY
, CNH
, COP
, COU
, KMF
, CDF
, CRC
, HRD
, HRK
, CUC
, CUP
, CYP
, CZK
, CSK
, DKK
, DJF
, DOP
, NLG
, XCD
, DDM
, ECS
, ECV
, EGP
, GQE
, ERN
, EEK
, ETB
, EUR
, XBA
, XEU
, XBB
, XBC
, XBD
, FKP
, FJD
, FIM
, FRF
, XFO
, XFU
, GMD
, GEK
, GEL
, DEM
, GHS
, GHC
, GIP
, XAU
, GRD
, GTQ
, GWP
, GNF
, GNS
, GYD
, HTG
, HNL
, HKD
, HUF
, IMP
, ISK
, ISJ
, INR
, IDR
, IRR
, IQD
, IEP
, ILS
, ILP
, ILR
, ITL
, JMD
, JPY
, JOD
, KZT
, KES
, KWD
, KGS
, LAK
, LVL
, LVR
, LBP
, LSL
, LRD
, LYD
, LTL
, LTT
, LUL
, LUC
, LUF
, MOP
, MKD
, MKN
, MGA
, MGF
, MWK
, MYR
, MVR
, MVP
, MLF
, MTL
, MTP
, MRU
, MRO
, MUR
, MXV
, MXN
, MXP
, MDC
, MDL
, MCF
, MNT
, MAD
, MAF
, MZE
, MZN
, MZM
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NIC
, NGN
, KPW
, NOK
, OMR
, PKR
, XPD
, PAB
, PGK
, PYG
, PEI
, PEN
, PES
, PHP
, XPT
, PLN
, PLZ
, PTE
, GWE
, QAR
, XRE
, RHD
, RON
, ROL
, RUB
, RUR
, RWF
, SVC
, WST
, SAR
, RSD
, CSD
, SCR
, SLL
, XAG
, SGD
, SKK
, SIT
, SBD
, SOS
, ZAR
, ZAL
, KRH
, KRW
, KRO
, SSP
, SUR
, ESP
, ESA
, ESB
, XDR
, LKR
, SHP
, XSU
, SDD
, SDG
, SDP
, SRD
, SRG
, SZL
, SEK
, CHF
, SYP
, STN
, STD
, TVD
, TJR
, TJS
, TZS
, XTS
, THB
, XXX
, TPE
, TOP
, TTD
, TND
, TRY
, TRL
, TMT
, TMM
, USD
, USN
, USS
, UGX
, UGS
, UAH
, UAK
, AED
, UYW
, UYU
, UYP
, UYI
, UZS
, VUV
, VES
, VEB
, VEF
, VND
, VNN
, CHE
, CHW
, XOF
, YDD
, YER
, YUN
, YUD
, YUM
, YUR
, ZWN
, ZRN
, ZRZ
, ZMW
, ZMK
, ZWD
, ZWR
, ZWL
. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.exchange_rate
Stringcompany
UUIDremote_was_deleted
Booleanremote_was_deleted
Booleanaccounting_period
UUIDfield_mappings
Objectremote_data
RemoteData[]https://api.merge.dev/api/accounting/v1/transactions
Returns a list of Transaction
objects.
company_id
Stringcreated_after
DateTime (ISO 8601)created_before
DateTime (ISO 8601)cursor
Stringexpand
Stringinclude_deleted_data
Booleaninclude_remote_data
Booleaninclude_shell_data
Booleanmodified_after
DateTime (ISO 8601)modified_before
DateTime (ISO 8601)page_size
Integerremote_id
Stringtransaction_date_after
DateTime (ISO 8601)transaction_date_before
DateTime (ISO 8601)Supported Response Fields
currency
Enuminclusive_of_tax
Booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
company
UUIDcontact
UUIDcurrency
Enumline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
account
UUIDaccounting_period
UUIDcompany
UUIDcontact
UUIDcurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleanline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
account
UUIDcontact
UUIDcurrency
Enumexchange_rate
Stringline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
company
UUIDcontact
UUIDcurrency
Enumexchange_rate
Stringline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
exchange_rate
Stringline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleanremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtransaction_date
DateTime (ISO 8601)transaction_type
Stringhttps://api.merge.dev/api/accounting/v1/transactions/{id}
Returns a Transaction
object with the given id
.
expand
Stringid
UUIDinclude_remote_data
BooleanSupported Response Fields
currency
Enuminclusive_of_tax
Booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
company
UUIDcontact
UUIDcurrency
Enumline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
account
UUIDaccounting_period
UUIDcompany
UUIDcontact
UUIDcurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleanline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
account
UUIDcontact
UUIDcurrency
Enumexchange_rate
Stringline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
company
UUIDcontact
UUIDcurrency
Enumexchange_rate
Stringline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtracking_categories
Arraytransaction_date
DateTime (ISO 8601)transaction_type
StringSupported Response Fields
exchange_rate
Stringline_items
TransactionLineItem[]id
stringremote_id
stringcreated_at
stringmodified_at
stringmemo
stringunit_price
stringquantity
stringitem
stringaccount
stringtracking_category
stringtracking_categories
arraytotal_line_amount
stringtax_rate
stringcurrency
stringexchange_rate
stringcompany
stringremote_was_deleted
booleanremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Stringtransaction_date
DateTime (ISO 8601)transaction_type
String