Expenses

Get an expense

One submitted expense. A draft answers 404, like an id that does not exist.

get/v1/expenses/{id}

Request

  • Base URL: https://api.dynt.ai/v1/dynt-server.onrender.com
  • URL: https://api.dynt.ai/v1/dynt-server.onrender.com/v1/expenses/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The resource id.

Response

OK

idstring required
numberstring required

Dynt's sequence number for the expense.

custom_idstring nullable required

The organization's own expense number, when set.

status'pending' | 'processing' | 'sent' | 'reimbursed' | 'rejected' | 'cancelled' required

Where the expense is in Dynt's workflow; the consuming system decides which statuses it books. Drafts are never returned.

approval_statusstring required

The expense's review outcome in Dynt.

accounting_statusstring required

The expense's bookkeeping review state in Dynt.

datestring date-time required

The expense date as stored (UTC); the from/to filters use it.

descriptionstring nullable required

The comment entered with the expense.

currencystring required
net_amountstring required

Total before VAT.

vat_amountstring required

Decimal amount as a string with the currency's own decimals (ISO 4217: 2 for EUR, 0 for JPY, 3 for BHD, 4 for CLF), e.g. "1234.50"; eur_amount always has 2.

total_amountstring required

Total including VAT.

eur_amountstring nullable required

Decimal amount as a string with the currency's own decimals (ISO 4217: 2 for EUR, 0 for JPY, 3 for BHD, 4 for CLF), e.g. "1234.50"; eur_amount always has 2.

fx_ratestring nullable required

The stored exchange rate used for eur_amount, as a decimal string; null when none is stored.

external_guestboolean required

Filed for guest staff outside the organization.

created_atstring date-time required

RFC 3339 date-time in UTC.

updated_atstring date-time required

RFC 3339 date-time in UTC.

Changes

No recorded changes to this operation across all 1 revision of this API.