Documentation
¶
Overview ¶
Package expensify provides validated, typed resource operations for New Expensify.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Expense ¶
type Expense struct {
ID string `json:"id"`
ReportID string `json:"report_id,omitempty"`
Amount int64 `json:"amount"`
Currency string `json:"currency"`
Merchant string `json:"merchant"`
Date string `json:"date"`
Comment string `json:"comment,omitempty"`
Category string `json:"category,omitempty"`
Tag string `json:"tag,omitempty"`
Billable bool `json:"billable"`
Reimbursable bool `json:"reimbursable"`
Receipt any `json:"receipt,omitempty"`
}
type Report ¶
type Report struct {
ID string `json:"id"`
Name string `json:"name"`
PolicyID string `json:"policy_id,omitempty"`
Type string `json:"type,omitempty"`
Total int64 `json:"total"`
Currency string `json:"currency,omitempty"`
State string `json:"state,omitempty"`
Status string `json:"status,omitempty"`
OwnerAccountID string `json:"owner_account_id,omitempty"`
ManagerID string `json:"manager_id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.