Are you receiving SNAP/EBT or WIC benefits? The Expensify.org/SNAP-WIC-VAX campaign is live and accepting new members. Learn more about receiving $50 for submitting a SNAP/WIC receipt and $50 for getting your COVID-19 vaccine here and join today!
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
-
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 [email protected] 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