Skip to main content

Foundation Cost Code not set on Expense

Symptoms

When pushing Expenses data from Foundation to Procore, you get the error message: [Procore Error] cost_code_id: not found.

Causes

You attemped to sync Expenses from Foundation to Procore without including “cost codes”, which is required by Procore.

How to Fix

Include values for the “cost code” field.

  1. Ensure the Expenses data you’re pushing from Foundation includes values for the “cost code id” field, which is required by Procore.
  2. To do this:
    1. Go into the source system where Expense data is originating (e.g. Foundation).
    2. Ensure you’ve populated the “cost code” field for all Expenses records you’re attempting to sync to Procore.
    3. You can see documentation and field mappings here: https://sync-docs.agaveapi.com/docs/procore-and-foundation/expenses.
    4. Retry syncing the Expenses data once you’ve populated this field for all applicable records.

Still having trouble?

Check out our Procore FAQs or contact Agave Support for help