The Accounting Code in the product rate plan should map to an item in your accounting system.
For Quickbooks, the accounting code should match a Quickbooks item name. For Intacct, it should match an Intacct charge category.
If you are using Boomi to import Zuora Billing data into your back-end accounting system, an accounting code is required to properly push your Zuora Billing and Zuora Payments data into your accounting system. The accounting code in your product rate plan must be an exact match (that is, it must have the exact case, spacing, and spelling) as the item in your accounting item list or charge category in order for the invoices, payments, and adjustments to be properly imported into your accounting system.
The accounting code for a discount is based on the charge that is being discounted. You do not need to set an accounting code for the discount itself.
If you are using Zuora Finance, see Set up accounting codes for more information about using accounting codes in Zuora.