When you try to export to NetSuite, you can sometimes face the error “You do not have permissions to set a value for element tranid”.
This can happen no matter the kind of expense you are try to export.
It is often linked to the fact that you didn’t allow the override of auto-generated numbers in NetSuite.
To solve this,
You need to go under Setup > Company > Auto-Generated Numbers.
On this page, go to the sub-tab “Document Numbers” and make sure that “Allow override” is checked for “Invoice”, “Expense report”, “Payment”.
Once this is done, you can retry your export.
🔥 You should now have permissions to set a value for tranid and your export will succeed.