<?xml version="1.0" encoding="UTF-8"?>
<customErpPackage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <packageDescription>
        <name>Expensify</name>
        <description>This package adds custom fields in Intacct to link directly to receipts and reports in Expensify, giving you one-click access from Intacct! As part of this package, each employee will get a "restrict access to Expensify" tick box on their Employee Information page in Intacct. You can check this box if you don’t wish for particular employees to be automatically added to Expensify using our "People sync" feature (found on the Advanced tab of the sync options menu in Expensify).</description>
        <author>Expensify</author>
    </packageDescription>
    <customFields>
        <customField>
            <customFieldId>EXPENSIFY_REPORT_ID_ER</customFieldId>
            <type>text</type>
            <ownerObject>eexpenses</ownerObject>
            <label>Expensify Report ID</label>
            <page>Header</page>
            <dataDescription>
                <text>
                    <length>12</length>
                </text>
            </dataDescription>
            <required>false</required>
            <hidden>true</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_RESTRICT_INVITE</customFieldId>
            <type>checkbox</type>
            <ownerObject>employee</ownerObject>
            <label>Restrict access to Expensify</label>
            <page>Employee Information</page>
            <dataDescription>
                <checkbox>
                    <checked>false</checked>
                </checkbox>
            </dataDescription>
            <required>false</required>
            <description>If using People Sync in Expensify, check this box if you don&apos;t want the employee to be automatically created in Expensify.</description>
            <hidden>false</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_RECEIPT_URL_ER</customFieldId>
            <type>url</type>
            <ownerObject>eexpensesitem</ownerObject>
            <label>Receipt URL</label>
            <dataDescription>
                <url/>
            </dataDescription>
            <required>false</required>
            <hidden>false</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_MEMO_ER</customFieldId>
            <type>text</type>
            <ownerObject>eexpensesitem</ownerObject>
            <label>Memo</label>
            <dataDescription>
                <text>
                    <length>256</length>
                </text>
            </dataDescription>
            <required>false</required>
            <hidden>false</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_REPORT_ID_CCT</customFieldId>
            <type>text</type>
            <ownerObject>cctransaction</ownerObject>
            <label>Expensify Report ID</label>
            <dataDescription>
                <text>
                    <length>12</length>
                </text>
            </dataDescription>
            <required>false</required>
            <hidden>true</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_RECEIPT_URL_CCT</customFieldId>
            <type>url</type>
            <ownerObject>cctransactionentry</ownerObject>
            <label>Receipt URL</label>
            <dataDescription>
                <url/>
            </dataDescription>
            <required>false</required>
            <hidden>false</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_REPORT_ID_VB</customFieldId>
            <type>text</type>
            <ownerObject>apbill</ownerObject>
            <label>Expensify Report ID</label>
            <page>Header</page>
            <dataDescription>
                <text>
                    <length>12</length>
                </text>
            </dataDescription>
            <required>false</required>
            <hidden>true</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_RECEIPT_URL_VB</customFieldId>
            <type>url</type>
            <ownerObject>apbillitem</ownerObject>
            <label>Receipt URL</label>
            <dataDescription>
                <url/>
            </dataDescription>
            <required>false</required>
            <hidden>false</hidden>
            <active>true</active>
        </customField>
        <customField>
            <customFieldId>EXPENSIFY_MEMO_VB</customFieldId>
            <type>text</type>
            <ownerObject>apbill</ownerObject>
            <label>Memo</label>
            <dataDescription>
                <text>
                    <length>256</length>
                </text>
            </dataDescription>
            <required>false</required>
            <hidden>false</hidden>
            <active>true</active>
        </customField>
    </customFields>
    <smartLinks>
        <smartLink>
            <smartLinkId>EXPENSIFY_REPORT_DETAILS_ER</smartLinkId>
            <type>click</type>
            <ownerObject>eexpenses</ownerObject>
            <label>View details in Expensify</label>
            <page>Header</page>
            <target>https://www.expensify.com/report?reportID={!EEXPENSES.EXPENSIFY_REPORT_ID_ER!}</target>
            <renderDetails>
                <click>
                    <condition>{!EEXPENSES.EXPENSIFY_REPORT_ID_ER!} != ''</condition>
                    <height></height>
                    <width></width>
                    <position></position>
                    <resizeable>true</resizeable>
                    <showAddressbar>true</showAddressbar>
                    <showScrollbar>true</showScrollbar>
                    <showToolbar>true</showToolbar>
                    <showMenubar>true</showMenubar>
                    <showStatusbar>true</showStatusbar>
                </click>
            </renderDetails>
        </smartLink>
        <smartLink>
            <smartLinkId>EXPENSIFY_REPORT_DETAILS_CCT</smartLinkId>
            <type>click</type>
            <ownerObject>cctransaction</ownerObject>
            <label>View details in Expensify</label>
            <page></page>
            <target>https://www.expensify.com/report?reportID={!CCTRANSACTION.EXPENSIFY_REPORT_ID_CCT!}</target>
            <renderDetails>
                <click>
                    <condition>{!CCTRANSACTION.EXPENSIFY_REPORT_ID_CCT!} != ''</condition>
                    <height></height>
                    <width></width>
                    <position></position>
                    <resizeable>true</resizeable>
                    <showAddressbar>true</showAddressbar>
                    <showScrollbar>true</showScrollbar>
                    <showToolbar>true</showToolbar>
                    <showMenubar>true</showMenubar>
                    <showStatusbar>true</showStatusbar>
                </click>
            </renderDetails>
        </smartLink>
        <smartLink>
            <smartLinkId>EXPENSIFY_REPORT_DETAILS_VB</smartLinkId>
            <type>click</type>
            <ownerObject>apbill</ownerObject>
            <label>View details in Expensify</label>
            <page>Header</page>
            <target>https://www.expensify.com/report?reportID={!APBILL.EXPENSIFY_REPORT_ID_VB!}</target>
            <renderDetails>
                <click>
                    <condition>{!APBILL.EXPENSIFY_REPORT_ID_VB!} != ''</condition>
                    <height></height>
                    <width></width>
                    <position></position>
                    <resizeable>true</resizeable>
                    <showAddressbar>true</showAddressbar>
                    <showScrollbar>true</showScrollbar>
                    <showToolbar>true</showToolbar>
                    <showMenubar>true</showMenubar>
                    <showStatusbar>true</showStatusbar>
                </click>
            </renderDetails>
        </smartLink>
    </smartLinks>
</customErpPackage>