Field | Type | Required | Description | Example |
---|---|---|---|---|
TransactionDate |
*time.Time | ➖ | The date of the expense transaction | 2024-06-15T12:00:00Z |
TotalAmount |
*float64 | ➖ | The total amount of the expense | 10000 |
SubTotal |
*float64 | ➖ | The sub-total amount of the expense (before tax) | 9000 |
TotalTaxAmount |
*float64 | ➖ | The total tax amount of the expense | 1000 |
Currency |
*string | ➖ | The currency of the expense | USD |
ExchangeRate |
*string | ➖ | The exchange rate applied to the expense | 1.2 |
Memo |
*string | ➖ | A memo or description for the expense | Business lunch with client |
AccountID |
*string | ➖ | The UUID of the associated account | 801f9ede-c698-4e66-a7fc-48d19eebaa4f |
ContactID |
*string | ➖ | The UUID of the associated contact | 801f9ede-c698-4e66-a7fc-48d19eebaa4f |
CompanyInfoID |
*string | ➖ | The UUID of the associated company info | 801f9ede-c698-4e66-a7fc-48d19eebaa4f |
TrackingCategories |
[]string | ➖ | The UUIDs of the tracking categories associated with the expense | [ "801f9ede-c698-4e66-a7fc-48d19eebaa4f" ] |
LineItems |
[]components.LineItem | ➖ | The line items associated with this expense | |
FieldMappings |
*components.UnifiedAccountingExpenseInputFieldMappings | ➖ | The custom field mappings of the object between the remote 3rd party & Panora | { "custom_field_1": "value1", "custom_field_2": "value2" } |