You can code documents either at the document level or based on the transaction type for each individual line item.
The options available change based on your account setup and the options available within your accounting/inventory system. Standard options include expense codes, cost centres, departments, locations, projects and tax rates. For a detailed break down of the transaction types, please visit the article "Transaction Types".
To code at the document level open the “properties” panel.