{"openapi":"3.0.0","info":{"title":"Project Entitlements","x-product-category":"Construction Financials","x-tool-category":"Funding Sources","x-resource-name":"Project Entitlements","version":"2.0","x-product-lines":["Construction Financials"]},"servers":[{"url":"https://api.procore.com"}],"paths":{"/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements":{"parameters":[{"name":"Procore-Company-Id","in":"header","description":"Unique company identifier associated with the Procore User Account.","required":true,"schema":{"type":"integer"}},{"name":"company_id","in":"path","description":"Unique identifier for the company.","required":true,"schema":{"type":"string"}},{"name":"funding_source_id","in":"path","required":true,"description":"Unique string identifier of the funding source. Use in project-entitlement and project-usage paths under `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/`.","schema":{"type":"string"},"example":"1"}],"get":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"collection","summary":"List Project Entitlements","description":"Returns project entitlements for a Funding Source. Response is paginated and each item includes project details.\nRequires the `view_project_entitlements` granular permission on the Funding Sources tool.","tags":["Project Entitlements"],"parameters":[{"name":"page","in":"query","description":"Page","required":false,"schema":{"type":"integer"}},{"name":"per_page","in":"query","description":"Elements per page","required":false,"schema":{"type":"integer","default":10,"minimum":1,"maximum":100}},{"name":"filters[project_id][]","in":"query","description":"Filter to specific project IDs. Prefer the repeatable array form, e.g. `filters[project_id][]=100\u0026filters[project_id][]=101`. A single scalar ID (`filters[project_id]=100`) and a JSON array string (`filters[project_id]=[100,101]`) are also accepted for backwards compatibility.","required":false,"style":"form","explode":true,"schema":{"oneOf":[{"type":"array","title":"any of","items":{"type":"string"}},{"type":"string","title":"exact"},{"type":"string","title":"JSON array"}]},"example":["100","101"]},{"name":"sort","in":"query","required":false,"description":"Field to sort by. Prefix with '-' for descending.","schema":{"type":"string","enum":["funding_source_id","project_id","allocation_balance","created_at","updated_at","project_name","-funding_source_id","-project_id","-allocation_balance","-created_at","-updated_at","-project_name"]},"example":"-created_at"}],"responses":{"200":{"description":"OK","headers":{"Per-Page":{"description":"Number of items retrieved per page","schema":{"type":"integer"}},"Total":{"description":"Total number of items to be retrieved","schema":{"type":"integer"}},"Link":{"description":"Link headers for the first, prev, next, and last link","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","description":"Project Entitlements List","properties":{"data":{"type":"array","description":"Project entitlements for the funding source — each an allocation of funds to one project. Ordered per the `sort` query parameter.","items":{"type":"object","required":["id","project","allocation_balance","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier of the entitlement. Show and update are addressed by the composite `{funding_source_id}`/`{project_id}` path rather than by this id.","example":"10"},"project":{"type":"object","description":"Project receiving the allocation. Use nested `id` as `{project_id}` on show and update.","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the project. Use as `{project_id}` on GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}`.","example":"100"},"name":{"type":"string","description":"Display name of the project.","example":"Highway 101 Expansion Phase 1"}}},"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project in the funding source's currency. Always non-negative. Returned with exactly 2 fractional digits.","example":"3000000.00"},"version":{"type":"integer","format":"int64","description":"Monotonic version counter used for optimistic locking. Pass the latest value back on update to detect concurrent modifications.","example":2},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was created.","example":"2025-01-20T10:00:00Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was last updated.","example":"2025-02-15T14:30:00Z"},"currency_configuration":{"type":"object","description":"Currency of this entitlement. Inherited from the parent funding source; use to interpret `allocation_balance`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the entitlement amounts.","example":"USD"}}},"project_entitlement":{"type":"object","description":"Entitlement summary. Present on project-usage list items when `include=project_entitlement` is requested.","properties":{"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project. Always non-negative. Returned with exactly 2 fractional digits.","example":"3000000.00"},"currency_iso_code":{"type":"string","description":"Currency of the allocation. Matches the funding source.","example":"USD"}}},"balances":{"type":"object","nullable":true,"description":"Project-scoped balance breakdown. Present only when `include=balances` is requested. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency of these balances.","example":"USD"},"allocated":{"type":"string","format":"decimal","description":"Total amount assigned from this funding source to the project.","example":"3000000.00"},"appropriated":{"type":"string","format":"decimal","description":"Amount approved across all prime contracts on this project.","example":"2000000.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts on this project. Equal to allocated minus appropriated.","example":"1000000.00"},"committed":{"type":"string","format":"decimal","description":"Amount approved across subcontracts, purchase orders, and change orders on this project.","example":"1500000.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds on this project not yet committed. Equal to allocated minus committed.","example":"1500000.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds on this project not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"500000.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds on this project available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"500000.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against this funding source on this project. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"500000.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed on this project through approved commitment invoices.","example":"400000.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed on this project through approved direct costs.","example":"100000.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds on this project not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"2500000.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds on this project not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"1100000.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed on this project through approved upstream invoices.","example":"500000.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds on this project not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"2500000.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds on this project not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"1500000.00"},"minimum_allocation_balance":{"type":"string","format":"decimal","description":"Lowest allocation this project must maintain for this funding source. Omitted when unavailable.","example":"2000000.00"},"as_of":{"type":"string","format":"date-time","nullable":true,"description":"When the balances snapshot was taken. Null when a snapshot time is not available; do not treat these amounts as live if this is null.","example":"2026-03-25T10:00:00Z"}}}}}}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}}},"x-rate-limit-enabled":true,"x-procore-kong-tags":["rate-limit:enabled"],"x-changelog":[{"summary":"Introduce GET Project Entitlements Endpoint","description":"List project entitlements for a funding source with pagination support.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"new","breaking":false,"datestamp":"2026-03-17","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-entitlements"},{"summary":"Add project_name sort to Project Entitlements endpoint","description":"Support sorting by project name via sort=project_name (ascending) or sort=-project_name (descending).","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"refinement","breaking":false,"datestamp":"2026-06-16","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-entitlements"},{"summary":"Filter Project Entitlements by project using array query params","description":"The project_id filter now uses a repeatable array query parameter, e.g. filters[project_id][]=1\u0026filters[project_id][]=2.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"refinement","breaking":false,"datestamp":"2026-06-30","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-entitlements"},{"summary":"Notice of General Availability","description":"This endpoint was previously private and in pilot, and is now publicly\ndocumented and generally available. No changes were made to the API\ncontract, only visibility and stage updates.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-entitlements"}]},"post":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"mutation","summary":"Create Project Entitlement","description":"Allocates funds from a Funding Source to a specific Project by creating a Project Entitlement. Each Funding Source may have at most one entitlement per project. Attempting to create a duplicate entitlement returns a 409 Conflict response. The allocation balance must be greater than zero and inherits the currency of the parent Funding Source.\nRequires the `create_project_entitlements` granular permission on the Funding Sources tool.","tags":["Project Entitlements"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body","type":"object","required":["project_id","allocation_balance"],"properties":{"project_id":{"type":"string","description":"Unique string identifier of the project to allocate funds to. Must be an active project in the current company.","example":"102"},"allocation_balance":{"type":"string","format":"decimal","description":"Initial allocation balance for the project. Greater than zero, with up to 26 digits before the decimal point and 4 after.","example":"2000000.00"}}}}}},"responses":{"201":{"description":"Successfully created. Returns the new Project Entitlement with nested Funding Source and Project details.","headers":{"Location":{"description":"Canonical URI of the created Project Entitlement, keyed by project ID.","schema":{"type":"string","example":"/rest/v2.0/companies/42/funding_sources/1/project_entitlements/102"}}},"content":{"application/json":{"schema":{"type":"object","description":"Project Entitlement","properties":{"data":{"type":"object","description":"A project entitlement — an allocation of funds from a funding source to a single project. Identified by the composite of `funding_source` and `project`.","required":["id","funding_source","project","allocation_balance","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier of the entitlement. Note that show and update are addressed by the composite `{funding_source_id}`/`{project_id}` path, not by this id.","example":"12"},"funding_source":{"type":"object","description":"Funding source this entitlement draws from. Use nested `id` as `{funding_source_id}` on entitlement endpoints.","required":["id","number","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the funding source. Use as `{funding_source_id}` on `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements`.","example":"1"},"number":{"type":"string","description":"Human-readable funding source number, unique within the company.","example":"FS-001"},"name":{"type":"string","description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"}}},"project":{"type":"object","description":"Project receiving the allocation. Use nested `id` as `{project_id}` on show and update.","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the project. Use as `{project_id}` on GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}`.","example":"102"},"name":{"type":"string","description":"Display name of the project.","example":"Bridge Rehabilitation"}}},"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project in the funding source's currency. Always non-negative. Returned with exactly 2 fractional digits.","example":"2000000.00"},"version":{"type":"integer","format":"int64","description":"Monotonic version counter used for optimistic locking. Pass the latest value back on update to detect concurrent modifications.","example":1},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was created.","example":"2025-03-01T14:00:00Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was last updated.","example":"2025-03-01T14:00:00Z"},"currency_configuration":{"type":"object","description":"Currency of this entitlement. Inherited from the parent funding source; use to interpret `allocation_balance`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the entitlement amounts.","example":"USD"}}}}}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"409":{"description":"Conflict - entitlement already exists for this project and funding source","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}}},"x-code-samples":[{"id":"node_request","mimeType":"application/json","title":"Node.js","content":"const request = require('request');\n\nconst options = {\n  method: 'POST',\n  url: 'https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements',\n  headers: {'content-type': 'application/json'},\n  body: {project_id: '102', allocation_balance: '2000000.00'},\n  json: true\n};\n\nrequest(options, function (error, response, body) {\n  if (error) throw new Error(error);\n\n  console.log(body);\n});\n"},{"id":"python_python3","mimeType":"application/json","title":"Python3","content":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.procore.com\")\n\npayload = \"{\\\"project_id\\\":\\\"102\\\",\\\"allocation_balance\\\":\\\"2000000.00\\\"}\"\n\nheaders = { 'content-type': \"application/json\" }\n\nconn.request(\"POST\", \"/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"id":"shell_curl","mimeType":"application/json","title":"Curl","content":"curl --request POST \\\n  --url https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements \\\n  --header 'content-type: application/json' \\\n  --data '{\"project_id\":\"102\",\"allocation_balance\":\"2000000.00\"}'"},{"id":"csharp_httpclient","mimeType":"application/json","title":"C#","content":"var client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n    Method = HttpMethod.Post,\n    RequestUri = new Uri(\"https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements\"),\n    Content = new StringContent(\"{\\\"project_id\\\":\\\"102\\\",\\\"allocation_balance\\\":\\\"2000000.00\\\"}\")\n    {\n        Headers =\n        {\n            ContentType = new MediaTypeHeaderValue(\"application/json\")\n        }\n    }\n};\nusing (var response = await client.SendAsync(request))\n{\n    response.EnsureSuccessStatusCode();\n    var body = await response.Content.ReadAsStringAsync();\n    Console.WriteLine(body);\n}"}],"x-rate-limit-enabled":true,"x-procore-kong-tags":["rate-limit:enabled"],"x-changelog":[{"summary":"Introduce POST Project Entitlements Endpoint","description":"Create a project entitlement to allocate funds from a funding source to a project. Returns 409 Conflict if an entitlement already exists for the project and funding source combination.","endpoint":"POST /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"new","breaking":false,"datestamp":"2026-03-17","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#create-project-entitlement"},{"summary":"Expand Standard management access to Project Entitlement create endpoint","description":"Users with Standard access to Funding Sources can now create project entitlements while company administrators retain full access.","endpoint":"POST /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"refinement","breaking":false,"datestamp":"2026-07-22","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#create-project-entitlement"},{"summary":"Require a positive initial project allocation","description":"Creating a project entitlement rejects an allocation balance of zero. The initial balance must be greater than zero. Updates may still set the balance to zero.","endpoint":"POST /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"refinement","breaking":true,"datestamp":"2026-10-09","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#create-project-entitlement"},{"summary":"Bound project allocation balance range and scale","description":"Allocation balance with more than 26 digits before the decimal point or more than 4 after returns 400 instead of a server error or silent rounding.","endpoint":"POST /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"fix","breaking":true,"datestamp":"2026-10-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#create-project-entitlement"},{"summary":"Notice of General Availability","description":"This endpoint was previously private and in pilot, and is now publicly\ndocumented and generally available. No changes were made to the API\ncontract, only visibility and stage updates.","endpoint":"POST /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#create-project-entitlement"}]},"x-compliance-level":"full"},"/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_usage":{"parameters":[{"name":"Procore-Company-Id","in":"header","description":"Unique company identifier associated with the Procore User Account.","required":true,"schema":{"type":"integer"}},{"name":"company_id","in":"path","description":"Unique identifier for the company.","required":true,"schema":{"type":"string"}},{"name":"funding_source_id","in":"path","required":true,"description":"Unique string identifier of the funding source. Use in project-entitlement and project-usage paths under `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/`.","schema":{"type":"string"},"example":"1"}],"get":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"collection","summary":"List Project Usage","description":"Returns project-level breakdown of funds for a single Funding Source. Response is paginated and each item includes project details.\nRequires the `view_project_entitlements` granular permission on the Funding Sources tool.","tags":["Project Entitlements"],"parameters":[{"name":"page","in":"query","description":"Page","required":false,"schema":{"type":"integer"}},{"name":"per_page","in":"query","description":"Elements per page","required":false,"schema":{"type":"integer","default":10,"minimum":1,"maximum":100}},{"name":"filters[project_id][]","in":"query","description":"Filter to specific project IDs. Prefer the repeatable array form, e.g. `filters[project_id][]=100\u0026filters[project_id][]=101`. A single scalar ID (`filters[project_id]=100`) and a JSON array string (`filters[project_id]=[100,101]`) are also accepted for backwards compatibility.","required":false,"style":"form","explode":true,"schema":{"oneOf":[{"type":"array","title":"any of","items":{"type":"string"}},{"type":"string","title":"exact"},{"type":"string","title":"JSON array"}]},"example":["100","101"]},{"name":"include","in":"query","required":false,"description":"Comma-separated related resources to embed. Use `project_entitlement` for the entitlement summary and `balances` for the project-scoped balance breakdown.","schema":{"type":"string","enum":["project_entitlement","balances"],"example":"project_entitlement"}},{"name":"sort","in":"query","required":false,"description":"Field to sort by. Prefix with '-' for descending.","schema":{"type":"string","enum":["allocation_balance","created_at","updated_at","project_name","-allocation_balance","-created_at","-updated_at","-project_name"]},"example":"-created_at"}],"responses":{"200":{"description":"OK","headers":{"Per-Page":{"description":"Number of items retrieved per page","schema":{"type":"integer"}},"Total":{"description":"Total number of items to be retrieved","schema":{"type":"integer"}},"Link":{"description":"Link headers for the first, prev, next, and last link","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","description":"Project Entitlements List","properties":{"data":{"type":"array","description":"Project entitlements for the funding source — each an allocation of funds to one project. Ordered per the `sort` query parameter.","items":{"type":"object","required":["id","project","allocation_balance","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier of the entitlement. Show and update are addressed by the composite `{funding_source_id}`/`{project_id}` path rather than by this id.","example":"10"},"project":{"type":"object","description":"Project receiving the allocation. Use nested `id` as `{project_id}` on show and update.","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the project. Use as `{project_id}` on GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}`.","example":"100"},"name":{"type":"string","description":"Display name of the project.","example":"Highway 101 Expansion Phase 1"}}},"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project in the funding source's currency. Always non-negative. Returned with exactly 2 fractional digits.","example":"3000000.00"},"version":{"type":"integer","format":"int64","description":"Monotonic version counter used for optimistic locking. Pass the latest value back on update to detect concurrent modifications.","example":2},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was created.","example":"2025-01-20T10:00:00Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was last updated.","example":"2025-02-15T14:30:00Z"},"currency_configuration":{"type":"object","description":"Currency of this entitlement. Inherited from the parent funding source; use to interpret `allocation_balance`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the entitlement amounts.","example":"USD"}}},"project_entitlement":{"type":"object","description":"Entitlement summary. Present on project-usage list items when `include=project_entitlement` is requested.","properties":{"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project. Always non-negative. Returned with exactly 2 fractional digits.","example":"3000000.00"},"currency_iso_code":{"type":"string","description":"Currency of the allocation. Matches the funding source.","example":"USD"}}},"balances":{"type":"object","nullable":true,"description":"Project-scoped balance breakdown. Present only when `include=balances` is requested. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency of these balances.","example":"USD"},"allocated":{"type":"string","format":"decimal","description":"Total amount assigned from this funding source to the project.","example":"3000000.00"},"appropriated":{"type":"string","format":"decimal","description":"Amount approved across all prime contracts on this project.","example":"2000000.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts on this project. Equal to allocated minus appropriated.","example":"1000000.00"},"committed":{"type":"string","format":"decimal","description":"Amount approved across subcontracts, purchase orders, and change orders on this project.","example":"1500000.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds on this project not yet committed. Equal to allocated minus committed.","example":"1500000.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds on this project not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"500000.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds on this project available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"500000.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against this funding source on this project. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"500000.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed on this project through approved commitment invoices.","example":"400000.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed on this project through approved direct costs.","example":"100000.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds on this project not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"2500000.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds on this project not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"1100000.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed on this project through approved upstream invoices.","example":"500000.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds on this project not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"2500000.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds on this project not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"1500000.00"},"minimum_allocation_balance":{"type":"string","format":"decimal","description":"Lowest allocation this project must maintain for this funding source. Omitted when unavailable.","example":"2000000.00"},"as_of":{"type":"string","format":"date-time","nullable":true,"description":"When the balances snapshot was taken. Null when a snapshot time is not available; do not treat these amounts as live if this is null.","example":"2026-03-25T10:00:00Z"}}}}}}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}}},"x-rate-limit-enabled":true,"x-procore-kong-tags":["rate-limit:enabled"],"x-changelog":[{"summary":"Introduce GET Project Usage Endpoint","description":"View project-level breakdown of funds for a funding source with optional project entitlement summary include.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_usage","type":"new","breaking":false,"datestamp":"2026-03-17","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-usage"},{"summary":"Add balances include to GET Project Usage Endpoint","description":"Support include=balances on project usage and return a balances object per row with project-level balance fields.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_usage","type":"refinement","breaking":false,"datestamp":"2026-05-07","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-usage"},{"summary":"Add project_name sort to Project Usage endpoint","description":"Support sorting by project name via sort=project_name (ascending) or sort=-project_name (descending).","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_usage","type":"refinement","breaking":false,"datestamp":"2026-06-16","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-usage"},{"summary":"Filter project usage by project using array query params","description":"The project_id filter now uses a repeatable array query parameter, e.g. filters[project_id][]=1\u0026filters[project_id][]=2.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_usage","type":"refinement","breaking":false,"datestamp":"2026-06-30","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-usage"},{"summary":"Notice of General Availability","description":"This endpoint was previously private and in pilot, and is now publicly\ndocumented and generally available. No changes were made to the API\ncontract, only visibility and stage updates.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_usage","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#list-project-usage"}]},"x-compliance-level":"full"},"/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}":{"parameters":[{"name":"Procore-Company-Id","in":"header","description":"Unique company identifier associated with the Procore User Account.","required":true,"schema":{"type":"integer"}},{"name":"company_id","in":"path","description":"Unique identifier for the company.","required":true,"schema":{"type":"string"}},{"name":"funding_source_id","in":"path","required":true,"description":"Unique string identifier of the funding source. Use in project-entitlement and project-usage paths under `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/`.","schema":{"type":"string"},"example":"1"},{"name":"project_id","in":"path","required":true,"description":"Unique string identifier of the project. Combined with `{funding_source_id}` this is the composite key for show and update. Must belong to the same company as the funding source.","schema":{"type":"string"},"example":"100"}],"get":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"resource","summary":"Show Project Entitlement","description":"Returns the single Project Entitlement for the provided Funding Source and Project. This endpoint is looked up by the composite key of `funding_source_id` and `project_id`.\nRequires the `view_project_entitlements` granular permission on the Funding Sources tool.","tags":["Project Entitlements"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Project Entitlement","properties":{"data":{"type":"object","description":"A project entitlement — an allocation of funds from a funding source to a single project. Identified by the composite of `funding_source` and `project`.","required":["id","funding_source","project","allocation_balance","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier of the entitlement. Note that show and update are addressed by the composite `{funding_source_id}`/`{project_id}` path, not by this id.","example":"12"},"funding_source":{"type":"object","description":"Funding source this entitlement draws from. Use nested `id` as `{funding_source_id}` on entitlement endpoints.","required":["id","number","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the funding source. Use as `{funding_source_id}` on `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements`.","example":"1"},"number":{"type":"string","description":"Human-readable funding source number, unique within the company.","example":"FS-001"},"name":{"type":"string","description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"}}},"project":{"type":"object","description":"Project receiving the allocation. Use nested `id` as `{project_id}` on show and update.","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the project. Use as `{project_id}` on GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}`.","example":"102"},"name":{"type":"string","description":"Display name of the project.","example":"Bridge Rehabilitation"}}},"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project in the funding source's currency. Always non-negative. Returned with exactly 2 fractional digits.","example":"2000000.00"},"version":{"type":"integer","format":"int64","description":"Monotonic version counter used for optimistic locking. Pass the latest value back on update to detect concurrent modifications.","example":1},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was created.","example":"2025-03-01T14:00:00Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was last updated.","example":"2025-03-01T14:00:00Z"},"currency_configuration":{"type":"object","description":"Currency of this entitlement. Inherited from the parent funding source; use to interpret `allocation_balance`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the entitlement amounts.","example":"USD"}}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}}},"x-code-samples":[{"id":"node_request","title":"Node.js","content":"const request = require('request');\n\nconst options = {\n  method: 'GET',\n  url: 'https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100'\n};\n\nrequest(options, function (error, response, body) {\n  if (error) throw new Error(error);\n\n  console.log(body);\n});\n"},{"id":"python_python3","title":"Python3","content":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.procore.com\")\n\nconn.request(\"GET\", \"/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100\")\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"id":"shell_curl","title":"Curl","content":"curl --request GET \\\n  --url https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100"},{"id":"csharp_httpclient","title":"C#","content":"var client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n    Method = HttpMethod.Get,\n    RequestUri = new Uri(\"https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100\"),\n};\nusing (var response = await client.SendAsync(request))\n{\n    response.EnsureSuccessStatusCode();\n    var body = await response.Content.ReadAsStringAsync();\n    Console.WriteLine(body);\n}"}],"x-rate-limit-enabled":true,"x-procore-kong-tags":["rate-limit:enabled"],"x-changelog":[{"summary":"Introduce GET Project Entitlement Endpoint","description":"Return a single project entitlement for a funding source and project pair.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}","type":"new","breaking":false,"datestamp":"2026-03-17","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#show-project-entitlement"},{"summary":"Notice of General Availability","description":"This endpoint was previously private and in pilot, and is now publicly\ndocumented and generally available. No changes were made to the API\ncontract, only visibility and stage updates.","endpoint":"GET /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#show-project-entitlement"}]},"patch":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"mutation","summary":"Update Project Entitlement","description":"Updates the allocation balance for the Project Entitlement identified by the `funding_source_id` and `project_id` composite key. This endpoint reuses the existing project entitlement update contract and only supports mutable entitlement fields documented here.\nRequires the `update_project_entitlements` granular permission on the Funding Sources tool.","tags":["Project Entitlements"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body","type":"object","required":["allocation_balance"],"properties":{"allocation_balance":{"type":"string","format":"decimal","description":"Updated allocation balance for the project entitlement. Non-negative, with up to 26 digits before the decimal point and 4 after.","example":"2500000.00"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Project Entitlement","properties":{"data":{"type":"object","description":"A project entitlement — an allocation of funds from a funding source to a single project. Identified by the composite of `funding_source` and `project`.","required":["id","funding_source","project","allocation_balance","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier of the entitlement. Note that show and update are addressed by the composite `{funding_source_id}`/`{project_id}` path, not by this id.","example":"12"},"funding_source":{"type":"object","description":"Funding source this entitlement draws from. Use nested `id` as `{funding_source_id}` on entitlement endpoints.","required":["id","number","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the funding source. Use as `{funding_source_id}` on `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements`.","example":"1"},"number":{"type":"string","description":"Human-readable funding source number, unique within the company.","example":"FS-001"},"name":{"type":"string","description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"}}},"project":{"type":"object","description":"Project receiving the allocation. Use nested `id` as `{project_id}` on show and update.","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique string identifier of the project. Use as `{project_id}` on GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}`.","example":"102"},"name":{"type":"string","description":"Display name of the project.","example":"Bridge Rehabilitation"}}},"allocation_balance":{"type":"string","format":"decimal","description":"Amount of the funding source allocated to this project in the funding source's currency. Always non-negative. Returned with exactly 2 fractional digits.","example":"2000000.00"},"version":{"type":"integer","format":"int64","description":"Monotonic version counter used for optimistic locking. Pass the latest value back on update to detect concurrent modifications.","example":1},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was created.","example":"2025-03-01T14:00:00Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the entitlement was last updated.","example":"2025-03-01T14:00:00Z"},"currency_configuration":{"type":"object","description":"Currency of this entitlement. Inherited from the parent funding source; use to interpret `allocation_balance`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the entitlement amounts.","example":"USD"}}}}}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"HTTP status in screaming snake case (like BAD_REQUEST)"},"message":{"type":"string","description":"Human readable message describing error."},"details":{"type":"array","description":"Additional information about the error.","items":{"type":"object","required":["reason_code","message"],"properties":{"reason_code":{"type":"string","description":"A machine-readable code that identifies the error specifically enough for the client to interpret what happened and take action.","example":"BLANK"},"message":{"type":"string","description":"Human readable message","example":"Name can't be blank"},"source":{"type":"string","description":"Source of the error","example":"name"}}}}}}}}}}}},"x-code-samples":[{"id":"node_request","mimeType":"application/json","title":"Node.js","content":"const request = require('request');\n\nconst options = {\n  method: 'PATCH',\n  url: 'https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100',\n  headers: {'content-type': 'application/json'},\n  body: {allocation_balance: '2500000.00'},\n  json: true\n};\n\nrequest(options, function (error, response, body) {\n  if (error) throw new Error(error);\n\n  console.log(body);\n});\n"},{"id":"python_python3","mimeType":"application/json","title":"Python3","content":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.procore.com\")\n\npayload = \"{\\\"allocation_balance\\\":\\\"2500000.00\\\"}\"\n\nheaders = { 'content-type': \"application/json\" }\n\nconn.request(\"PATCH\", \"/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"id":"shell_curl","mimeType":"application/json","title":"Curl","content":"curl --request PATCH \\\n  --url https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100 \\\n  --header 'content-type: application/json' \\\n  --data '{\"allocation_balance\":\"2500000.00\"}'"},{"id":"csharp_httpclient","mimeType":"application/json","title":"C#","content":"var client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n    Method = HttpMethod.Patch,\n    RequestUri = new Uri(\"https://api.procore.com/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1/project_entitlements/100\"),\n    Content = new StringContent(\"{\\\"allocation_balance\\\":\\\"2500000.00\\\"}\")\n    {\n        Headers =\n        {\n            ContentType = new MediaTypeHeaderValue(\"application/json\")\n        }\n    }\n};\nusing (var response = await client.SendAsync(request))\n{\n    response.EnsureSuccessStatusCode();\n    var body = await response.Content.ReadAsStringAsync();\n    Console.WriteLine(body);\n}"}],"x-rate-limit-enabled":true,"x-procore-kong-tags":["rate-limit:enabled"],"x-changelog":[{"summary":"Introduce PATCH Project Entitlement Endpoint","description":"Update a project entitlement allocation balance for a funding source and project pair.","endpoint":"PATCH /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}","type":"new","breaking":false,"datestamp":"2026-04-15","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#update-project-entitlement"},{"summary":"Expand Standard management access to Project Entitlement update endpoint","description":"Users with Standard access to Funding Sources can now update project entitlements while company administrators retain full access.","endpoint":"PATCH /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}","type":"refinement","breaking":false,"datestamp":"2026-07-22","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#update-project-entitlement"},{"summary":"Bound project allocation balance update range and scale","description":"Allocation balance with more than 26 digits before the decimal point or more than 4 after returns 400 instead of a server error or silent rounding.","endpoint":"PATCH /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}","type":"fix","breaking":true,"datestamp":"2026-10-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#update-project-entitlement"},{"summary":"Notice of General Availability","description":"This endpoint was previously private and in pilot, and is now publicly\ndocumented and generally available. No changes were made to the API\ncontract, only visibility and stage updates.","endpoint":"PATCH /companies/{company_id}/funding_sources/{funding_source_id}/project_entitlements/{project_id}","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"project-entitlements?version=2.0#update-project-entitlement"}]},"x-compliance-level":"full"}}}