v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Transactions

Update Transaction

Endpoint to update the assignee of a specific Transaction by ID. This method is only available for Company Card transactions and the trx_owner_id must be one of the Card assignees.

put/business/v2/transactions/{transactionId}

Path parameters

transactionIdstring required

The Transaction ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Headers

X-Soldo-Fingerprintstring required

Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.

Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required

Advanced authentication: Signature of the X-Soldo-Fingerprint.

Example:{{fingerprint_signature}}

Request body

trx_owner_idstring

The Transaction assignee, one of the User ID assigned to the Company Card.

user_notesstring

The Transaction user notes.

Example request

{
  "trx_owner_id": "XMPL1234-000001",
  "user_notes": "something",
  "invoice": {
    "number": "INV-2023-001",
    "date": "2023-01-23",
    "po_number": "PO-2023-001"
  }
}

Response

The returned resource is a single Transaction.

idstring

The Transaction ID (sortable: yes).

wallet_idstring

The ID of the Wallet from where the Transaction has been authorised (sortable: no).

wallet_namestring

The name of the Wallet from where the Transaction has been authorised (sortable: no).

status'Authorised' | 'Settled' | 'Cancelled' | 'Declined' | 'DisputeFailed' | 'DisputeOpened' | 'DisputeWon' | 'Moved' | 'Unknown'
category'Billing' | 'Chargeback' | 'Conversion' | 'Fee' | 'FeeReversal' | 'InboundFasterPayment' | 'InboundFasterPaymentReversal' | 'Load' | 'LoadReversal' | 'MileageReimbursement' | 'NotRecognized' | 'P2P' | 'Payment' | 'Rebalance' | 'RecurringBilling' | 'Refund' | 'SoldoActivity' | 'SoldoCreditOperation' | 'SoldoDebitOperation' | 'Transfer' | 'Wiretransfer' | 'Withdrawal' | 'InterAccountTransferWithdrawalRecurringBilling' | 'InterAccountTransferWithdrawal' | 'InterAccountTransferDeposit' | 'InterAccountTransferDepositRecurringBilling'
transaction_sign'Negative' | 'Positive' | 'None'
purchase_idstring

The Purchase ID (sortable: no).

amountnumber

The amount of the Transaction in the currency of the Wallet (sortable: no).

amount_currency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VED' | 'VEF' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XSU' | 'XTS' | 'XUA' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL'
tx_amountnumber

The amount of the Transaction in the currency of the Merchant (sortable: no).

tx_amount_currency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VED' | 'VEF' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XSU' | 'XTS' | 'XUA' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL'
fee_amountnumber

The amount of the Transaction fee in the currency of the Wallet (sortable: no).

fee_currency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VED' | 'VEF' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XSU' | 'XTS' | 'XUA' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL'
exchange_ratenumber

The exchange rate applied at the Settled status (sortable: no).

auth_exchange_ratenumber

The exchange rate applied at the Authorised status (sortable: no).

expense_status'APPROVED' | 'PARTIALLY_APPROVED' | 'DENIED' | 'TO_REVIEW'
expense_type'COMPANY' | 'PERSONAL' | 'TRAVEL_AND_ENTERTAINMENT'
expense_datestring

The date and time of the last review of the expense (sortable: no).

expense_reviewerstring

The ID of the User who reviewed the expense (sortable: no).

expense_approved_amountnumber

The expense amount that a reviewer has approved (sortable: no).

expense_report_idstring

The ID of the ExpenseReport the Transaction is included into (sortable: no).

datestring

The date and time of the Transaction at the Authorised status (sortable: yes).

settlement_datestring

The date and time of the Transaction at the Settled status (sortable: yes).

update_timestring

The date and time of the last update to the Transaction (sortable: yes).

card_idstring

The ID of the Card used for the Transaction (sortable: no).

masked_panstring

The masked PAN of the Card used for the Transaction (sortable: yes).

owner_namestring

The name of the cardholder who made the transaction (only available when owner_type is employee) (sortable: no).

owner_surnamestring

The surname of the cardholder who made the transaction (only available when owner_type is employee) (sortable: no).

owner_type'employee' | 'company'
owner_idstring

The ID of the Cardholder who made the Transaction (only available when owner_type is employee) (sortable: no).

custom_reference_idstring

The custom reference ID of the Cardholder who made the Transaction (only available when owner_type is employee) (sortable: no).

group_idstring

The ID of the Group the Transaction belongs to (sortable: no).

has_attachmentsboolean

It determines whether the transaction has one or more TransactionAttachments (sortable: no).

trx_owner_idstring

For User Card transactions, when owner_type is employee, is the cardholder ID, for Company Card, when owner_type is company, is empty or one of the Card assignees (sortable: no).

metadata_idsstring[]

A list of IDs related to custom generated Metadata of the Transaction (sortable: no).

vat_percentagenumber

The VAT percentage applied (sortable: no).

vat_amountnumber

The amount of the VAT in the currency of the Wallet (sortable: no).

vat_currency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VED' | 'VEF' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XSU' | 'XTS' | 'XUA' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL'
user_notesstring

The notes defined by the User (sortable: no).

notesstring

The notes defined by Soldo (sortable: no).

direct_urlstring

The direct URL to the transaction details page (sortable: no).

flagsstring[]

List of strings: forUser, forAdmin or empty. It determines for which kinds of Users the transaction is flagged to (sortable: no).

payment_method'USER' | 'COMPANY' | 'PURCHASE' | 'SUBSCRIPTION' | 'ONLINE_ADS' | 'OUT_OF_PLATFORM_COMPANY' | 'OUT_OF_PLATFORM_PERSONAL' | 'IATS' | 'WIRETRANSFER'
payment_method_idstring

The ID of the payment method, could be the ID of a Subscription, OnlineAds or Purchase resource (sortable: no).

splitboolean

It determines whether the transaction has been split (sortable: no).

tx_idstring

The transaction's internal id (the same ID that can be found on reports and the advanced details section of a Transaction).

payment_trn_codestring

The Transaction Reference Number (TRN) of the outbound payment generated by Soldo. Available for SEPA, SEPA_INSTANT.

required_information'COMPLETE' | 'NOT_COMPLETE'
reimbursement_expense_report_idstring

The ID of the ExpenseReport that was reimbursed by this payment. Note to developer: if this ID is not null this payment can be considered a reimbursement. (sortable: no).

business_trip_idstring

The ID of the BusinessTrip the Transaction is linked to (sortable: no).

card_namestring

The name of the Card used for the Transaction (sortable: no).

Example response

{
  "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
  "wallet_id": "6853e657-c797-4985-8d6b-5425d4e51df8",
  "wallet_name": "John Doe",
  "purchase_id": "6853e657-c797-4985-8d6b-5425d4e51df8",
  "amount": 10.25,
  "tx_amount": 10.25,
  "fee_amount": 10.25,
  "exchange_rate": 1,
  "auth_exchange_rate": 1,
  "expense_date": "2017-06-01T12:48:40Z",
  "expense_reviewer": "XMPL1234-000001",
  "expense_approved_amount": 10.25,
  "expense_report_id": "c861cc24-6663-410f-8c78-73f886fff4ef",
  "date": "2017-06-01T12:48:40Z",
  "settlement_date": "2017-06-01T12:48:40Z",
  "update_time": "2017-06-01T12:48:40Z",
  "merchant": {
    "name": "SHH HOTEL LONDON",
    "raw_name": "SHERLOCK HOLMES HOTEL  LONDON        GBR"
  },
  "merchant_category": {
    "description": "Travel",
    "mcc_description": "Lodging - Hotels, Motels, Resorts - not elsewhere classified",
    "code": "Lodging - Hotels, Motels, Resorts - not elsewhere classified",
    "sub_category": "Hotels"
  },
  "tags": [
    {
      "id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
      "dictionary_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
      "dictionary": "ExampleTagDictionary",
      "tag": "tx-label",
      "code": "CODE tag",
      "visible": true,
      "description": "Label to mark transactions"
    }
  ],
  "card_id": "6853e657-c797-4985-8d6b-5425d4e51df8",
  "masked_pan": "123456******1234",
  "owner_name": "John",
  "owner_surname": "Smith",
  "owner_id": "XMPL1234-000003",
  "custom_reference_id": "123456-user-1",
  "group_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
  "trx_owner_id": "XMPL1234-000003",
  "metadata_ids": [
    "express"
  ],
  "fuel_details": {
    "plate": "AA000BB",
    "vat_deductibility_percentage": "40%",
    "mileage": 125000,
    "quantity": 80,
    "unit_price": 1.41,
    "invoice_id": 4421109,
    "invoice_number": "NVC112200987",
    "invoice_date": "2017-06-01T12:48:40Z",
    "invoice_total_amount": 10.25,
    "invoice_row": 4,
    "invoice_row_amount": 10.25,
    "dri": "DRI00099881",
    "vehicle_id": "6853e657-c797-4985-8d6b-5425d4e51df8"
  },
  "vat_percentage": 15,
  "vat_amount": 10.25,
  "flags": [
    "forUser"
  ],
  "payment_method_id": "6853e657-c797-4985-8d6b-5425d4e51df8",
  "expense_category": {
    "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
    "name": "category-one",
    "description": "An expense category",
    "tax_rate_id": "c861cc24-6663-410f-8c78-73f886fff4ef",
    "expense_type": "TRAVEL_AND_ENTERTAINMENT",
    "integration": "Netsuite",
    "creation_time": "2017-06-01T12:48:40Z",
    "last_update_time": "2017-06-01T12:48:40Z"
  },
  "tax_rate": {
    "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
    "code": "code-vat-11",
    "name": "Tax 11",
    "description": "Number 11 of Tax code",
    "percentage": 15,
    "enabled": true,
    "integration": "something",
    "creation_time": "2017-06-01T12:48:40Z",
    "last_update_time": "2017-06-01T12:48:40Z"
  },
  "tx_id": "5-857211147-150603333585014265",
  "payment_trn_code": "1234567890123456789012345678IT",
  "invoice": {
    "number": "INV-2023-001",
    "date": "2023-01-23",
    "po_number": "PO-2023-001"
  },
  "source": {
    "name": "J. Doe",
    "destination_wallet_id": "de29bffb-7da2-40f1-934a-241170762d3e",
    "destination_wallet_name": "EURO VIBAN"
  },
  "custom_export": [
    {
      "product": "SAP",
      "export_date": "2017-06-01T12:48:40Z"
    }
  ],
  "out_spending_policy": {
    "approved_amount": {
      "amount": 10.25
    },
    "rejected_amount": {
      "amount": 10.25
    }
  },
  "card_name": "CardName",
  "split_transactions": [
    {
      "amount": {
        "amount": 10.25
      },
      "vat_amount": {
        "amount": 10.25
      },
      "line_number": 1,
      "tags": [
        {
          "id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
          "dictionary_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
          "dictionary": "ExampleTagDictionary",
          "tag": "tx-label",
          "code": "CODE tag",
          "visible": true,
          "description": "Label to mark transactions"
        }
      ],
      "employee": {
        "id": "XMPL1234-000001",
        "name": "John",
        "surname": "Smith",
        "middlename": "John",
        "dob": "1970-10-21",
        "job_title": "Business Strategist",
        "department": "Research & Development",
        "email": "jdoe@fake.soldo.com",
        "mobile": "+44123323232",
        "mobile_prefix": "+44",
        "custom_reference_id": "123456-user-1",
        "visible": true,
        "mobile_access": true,
        "web_access": true,
        "groups": [
          "7bf79328-a7ae-4222-aa54-091ff7f429a7",
          "2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
        ],
        "shipping_address": {
          "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
          "recipient": "JohnSmith",
          "name": "Foo Street 75",
          "line1": "Bar Street 64",
          "line2": "Other street 31",
          "country": "GB",
          "county": "LD",
          "city": "London",
          "post_code": "00000",
          "delivery_phone_number": "+441234567890",
          "type": "SHIPPING",
          "creation_time": "2017-06-01T12:48:40Z",
          "last_update": "2017-06-01T12:48:40Z"
        },
        "reports_to": "XMPL1234-000001",
        "roles": [
          {
            "id": "superAdmin",
            "name": "superAdmin",
            "description": "The SuperAdmin role",
            "scope": "ALL"
          }
        ],
        "contact_id": "135fdb6c-2e77-4fc0-a79f-2453fde75ef7",
        "creation_time": "2017-06-01T12:48:40Z",
        "last_update": "2017-06-01T12:48:40Z"
      },
      "expense_category": {
        "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
        "name": "category-one",
        "description": "An expense category",
        "tax_rate_id": "c861cc24-6663-410f-8c78-73f886fff4ef",
        "expense_type": "TRAVEL_AND_ENTERTAINMENT",
        "integration": "Netsuite",
        "creation_time": "2017-06-01T12:48:40Z",
        "last_update_time": "2017-06-01T12:48:40Z"
      },
      "tax_rate": {
        "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
        "code": "code-vat-11",
        "name": "Tax 11",
        "description": "Number 11 of Tax code",
        "percentage": 15,
        "enabled": true,
        "integration": "something",
        "creation_time": "2017-06-01T12:48:40Z",
        "last_update_time": "2017-06-01T12:48:40Z"
      },
      "approved_amount": {
        "amount": 10.25
      },
      "rejected_amount": {
        "amount": 10.25
      }
    }
  ],
  "timeline": [
    {
      "created_at": "2017-06-01T12:48:40Z",
      "amount": 10.25,
      "balance_after": {
        "available_amount": 10.25,
        "pending_amount": 10.25,
        "ledger_amount": 10.25
      },
      "balance_before": {
        "available_amount": 10.25,
        "pending_amount": 10.25,
        "ledger_amount": 10.25
      },
      "is_fee": true
    }
  ]
}