API - getting card
The export feature has a variable called {expense:card}. It does not appear that the export_report_template has this. How can I access this data?
Answers
-
Sophie_Pinto Expensify Customer, Expensify Team, Expensify Student Ambassador Posts: 133 Expensify TeamOptions
Hi @mmourton - can you clarify whether you are looking at an existing export template in your account or looking to create your own custom export template? If it's the latter, check out this help article here that dives into how to build it!
Also, email concierge@expensify.com or chat in-app to receive faster support!
-
Hello - I figured this out. There is a variable called "expense.cardNumber" that is not listed on the supporting documents.
I am removing the "x";s using the following:
<#assign last4 = expense.cardNumber?keep_after_last("X")>
FYI - "expense.externalID" is not listed in the support docs either.
https://integrations.expensify.com/Integration-Server/doc/export_report_template.html