{"openapi":"3.0.0","info":{"title":"Funding Sources","x-product-category":"Construction Financials","x-tool-category":"Funding Sources","x-resource-name":"Funding Sources","version":"2.0","x-product-lines":["Construction Financials"]},"servers":[{"url":"https://api.procore.com"}],"paths":{"/rest/v2.0/companies/{company_id}/funding_sources":{"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"}}],"get":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"collection","summary":"List Funding Sources","description":"Returns funding sources for a company.\nRequires the `view_funding_sources` granular permission on the Funding Sources tool.","tags":["Funding Sources"],"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":"include","in":"query","required":false,"description":"Comma-separated list of related resources to embed. Use `balances` to include balance details.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["balances"]},"example":["balances"]}},{"name":"filters[status][]","in":"query","description":"Filter by status. Prefer the repeatable array form, e.g. `filters[status][]=ACTIVE\u0026filters[status][]=INACTIVE`. A single scalar value (`filters[status]=ACTIVE`) is also accepted for backwards compatibility. Defaults to `ACTIVE` when omitted.","required":false,"style":"form","explode":true,"schema":{"oneOf":[{"type":"array","title":"any of","items":{"type":"string","enum":["ACTIVE","INACTIVE"]}},{"type":"string","title":"exact","enum":["ACTIVE","INACTIVE"]}]},"example":["ACTIVE","INACTIVE"]},{"name":"sort","in":"query","required":false,"description":"Field to sort by. Prefix with '-' for descending.","schema":{"type":"string","enum":["number","name","description","balance","created_at","updated_at","-number","-name","-description","-balance","-created_at","-updated_at"]},"example":"-balance"}],"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","properties":{"data":{"type":"array","items":{"type":"object","description":"A funding source — a company-level pool of money that can be entitled to projects and drawn down as commitments are made.","required":["id","number","name","balance","status","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier for the funding source. Use as the `{id}` path parameter for GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{id}`, and as `{funding_source_id}` for entries and project-entitlement endpoints.","example":"1"},"number":{"type":"string","maxLength":255,"description":"Human-readable funding source number, unique within the company. Auto-assigned on create when not supplied.","example":"FS-001"},"name":{"type":"string","maxLength":255,"description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"},"description":{"type":"string","nullable":true,"maxLength":2000,"description":"Free-text description of the funding source.","example":"State bond allocation for transportation projects"},"balance":{"type":"string","format":"decimal","description":"Current total balance of the funding source, derived from the sum of its entries. Returned with exactly 2 fractional digits.","example":"10000.00"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Lifecycle state. Filter collections with `filters[status][]`; omitted filter defaults to `ACTIVE`.","example":"ACTIVE"},"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":0},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was created.","example":"2016-03-14T16:52:22Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was last updated.","example":"2016-03-14T16:52:22Z"},"deleted_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was soft-deleted. Null while the source is not deleted.","example":"2016-03-14T16:52:22Z","nullable":true},"currency_configuration":{"type":"object","description":"Currency of this funding source. Use `currency_iso_code` to interpret `balance` and every amount in `balances`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the funding source. Unset until a currency is configured.","example":"USD","nullable":true}}},"balances":{"type":"object","nullable":true,"description":"Company-level balance breakdown. Present only when `include=balances` is requested; omit the include (or treat as null) when you only need `balance`. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency of these balances.","example":"USD"},"total_balance":{"type":"string","format":"decimal","description":"Total value of the funding source (same concept as `balance`).","example":"1500.00"},"allocated":{"type":"string","format":"decimal","description":"Sum of funding assigned to specific projects.","example":"500.00"},"appropriated":{"type":"string","format":"decimal","description":"Amount formally designated to project scopes through approved prime contracts.","example":"100.00"},"committed":{"type":"string","format":"decimal","description":"Amount tied to approved subcontracts, purchase orders, and change orders.","example":"200.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds not yet committed. Equal to allocated minus committed.","example":"700.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"700.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"300.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against this funding source. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"100.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed through approved commitment invoices.","example":"80.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed through approved direct costs.","example":"20.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"400.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"120.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed through approved upstream invoices.","example":"50.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"450.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"50.00"},"available_to_allocate":{"type":"string","format":"decimal","description":"Remaining funding capacity across projects. Equal to total_balance minus allocated.","example":"900.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts. Equal to allocated minus appropriated.","example":"400.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"}}},"attachments":{"type":"array","nullable":true,"description":"Attached files. Always present on create and update responses, including an empty array when none exist. Present on show when `include=attachments` is requested.","items":{"type":"object","description":"Funding Source Attachment","required":["id","content_type","created_at","name","url","uuid"],"properties":{"id":{"type":"string","description":"Unique string identifier of the attachment. Pass in `attachment_ids` on funding source create/update to retain this attachment.","example":"32"},"content_type":{"type":"string","description":"MIME type of the attached file.","example":"application/pdf"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the attachment was created.","example":"2025-03-27T15:55:01Z"},"name":{"type":"string","description":"Original file name of the attachment, including its extension.","example":"2023-10-Account-Subscription.pdf"},"url":{"type":"string","description":"Download URL for the attachment file.","example":"https://storage.procore.com/api/v5/files/us-east-1/companies/3"},"uuid":{"type":"string","description":"Globally unique identifier of the underlying stored file, stable across environments.","example":"f00295a1de33201c16f63db458a653eabadd"}}}}}}}}}}}},"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 Funding Sources Endpoint","description":"Manage Company Funding Sources","endpoint":"GET /companies/{company_id}/funding_sources","type":"new","breaking":false,"datestamp":"2026-01-21","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Replace amount with balance and add status field","description":"Rename amount to balance to reflect entry-derived totals. Add status field (active/inactive) for lifecycle management.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":true,"datestamp":"2026-03-12","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Add status filter to GET Funding Sources Endpoint","description":"Support filtering company funding sources by status via filters[status]. Accepts an array of values from active and inactive; omitting the filter returns all statuses.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-04-27","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Normalize funding source status values casing","description":"Align funding source response status examples and enums to uppercase ACTIVE/INACTIVE to match filter and update request contracts.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-05-13","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Expand read-only access across Funding Sources endpoints","description":"Users with read-level or standard access to Funding Sources can now use read-only Funding Sources endpoints, including company funding sources, entries, totals, project funding sources, project usage, project entitlements, settings, and funding rules.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-07-02","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Filter Funding Sources by status using array query params","description":"The status filter now uses a repeatable array query parameter, e.g. filters[status][]=ACTIVE\u0026filters[status][]=INACTIVE. Defaults to ACTIVE when omitted.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-06-30","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Add spend fields to Funding Sources balances","description":"Include spent, spent_via_commitment, spent_via_direct_cost, available_to_spend, and unspent_commitment on company and project balance responses and totals.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-09-07","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Add draw fields to Funding Sources balances","description":"Include drawn, available_to_draw, and undrawn_appropriation on company and project balance responses and totals.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-09-10","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Add uncommitted appropriation to Funding Sources balances","description":"Include uncommitted_appropriation on company and project balance responses and totals.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-09-10","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"summary":"Format money amounts with two decimal places","description":"Every money amount in Funding Sources responses, including balance, balances, entry amounts, allocation balances and amounts in validation error messages, is returned with two fractional digits (for example \"1000.00\"), matching other financial tools. Stored amounts with more digits are rounded to two decimals.","endpoint":"GET /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-10-19","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"},{"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","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#list-funding-sources"}]},"post":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"mutation","summary":"Create Funding Source","description":"Creates a funding source for a company.\nRequires the `create_funding_sources` granular permission on the Funding Sources tool.","tags":["Funding Sources"],"requestBody":{"content":{"application/json":{"schema":{"title":"Body","type":"object","required":["name","balance"],"properties":{"number":{"type":"string","minLength":1,"maxLength":255,"description":"Human-readable funding source number, unique within the company. Leading and trailing whitespace is stripped before storage and uniqueness checks; internal spaces are preserved. Auto-assigned on create when omitted.","example":"FS-001"},"name":{"type":"string","minLength":1,"maxLength":255,"description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"},"description":{"type":"string","nullable":true,"maxLength":2000,"description":"Free-text description of the funding source.","example":"State bond allocation for transportation projects"},"balance":{"type":"string","format":"decimal","description":"Opening total balance of the funding source. Non-negative, with up to 26 digits before the decimal point and 4 after.","example":"10000.0"},"attachment_ids":{"type":"array","description":"Existing persisted attachment IDs to associate to the funding source. Use IDs from prior `attachments[].id` values.","items":{"type":"string"},"example":["1","2"]},"upload_ids":{"type":"array","description":"New upload IDs from this create flow. The server maps them to persisted attachment IDs before associating them to the funding source.","items":{"type":"string"},"example":["01J15GF28TDQ2X20RNRJ5DDX27","01J15GFDKQ4TDRBQPZ2M6E9H44"]}}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","description":"Funding Sources","properties":{"data":{"type":"object","description":"A funding source — a company-level pool of money that can be entitled to projects and drawn down as commitments are made.","required":["id","number","name","balance","status","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier for the funding source. Use as the `{id}` path parameter for GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{id}`, and as `{funding_source_id}` for entries and project-entitlement endpoints.","example":"1"},"number":{"type":"string","maxLength":255,"description":"Human-readable funding source number, unique within the company. Auto-assigned on create when not supplied.","example":"FS-001"},"name":{"type":"string","maxLength":255,"description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"},"description":{"type":"string","nullable":true,"maxLength":2000,"description":"Free-text description of the funding source.","example":"State bond allocation for transportation projects"},"balance":{"type":"string","format":"decimal","description":"Current total balance of the funding source, derived from the sum of its entries. Returned with exactly 2 fractional digits.","example":"10000.00"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Lifecycle state. Filter collections with `filters[status][]`; omitted filter defaults to `ACTIVE`.","example":"ACTIVE"},"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":0},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was created.","example":"2016-03-14T16:52:22Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was last updated.","example":"2016-03-14T16:52:22Z"},"deleted_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was soft-deleted. Null while the source is not deleted.","example":"2016-03-14T16:52:22Z","nullable":true},"currency_configuration":{"type":"object","description":"Currency of this funding source. Use `currency_iso_code` to interpret `balance` and every amount in `balances`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the funding source. Unset until a currency is configured.","example":"USD","nullable":true}}},"balances":{"type":"object","nullable":true,"description":"Company-level balance breakdown. Present only when `include=balances` is requested; omit the include (or treat as null) when you only need `balance`. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency of these balances.","example":"USD"},"total_balance":{"type":"string","format":"decimal","description":"Total value of the funding source (same concept as `balance`).","example":"1500.00"},"allocated":{"type":"string","format":"decimal","description":"Sum of funding assigned to specific projects.","example":"500.00"},"appropriated":{"type":"string","format":"decimal","description":"Amount formally designated to project scopes through approved prime contracts.","example":"100.00"},"committed":{"type":"string","format":"decimal","description":"Amount tied to approved subcontracts, purchase orders, and change orders.","example":"200.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds not yet committed. Equal to allocated minus committed.","example":"700.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"700.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"300.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against this funding source. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"100.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed through approved commitment invoices.","example":"80.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed through approved direct costs.","example":"20.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"400.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"120.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed through approved upstream invoices.","example":"50.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"450.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"50.00"},"available_to_allocate":{"type":"string","format":"decimal","description":"Remaining funding capacity across projects. Equal to total_balance minus allocated.","example":"900.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts. Equal to allocated minus appropriated.","example":"400.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"}}},"attachments":{"type":"array","nullable":true,"description":"Attached files. Always present on create and update responses, including an empty array when none exist. Present on show when `include=attachments` is requested.","items":{"type":"object","description":"Funding Source Attachment","required":["id","content_type","created_at","name","url","uuid"],"properties":{"id":{"type":"string","description":"Unique string identifier of the attachment. Pass in `attachment_ids` on funding source create/update to retain this attachment.","example":"32"},"content_type":{"type":"string","description":"MIME type of the attached file.","example":"application/pdf"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the attachment was created.","example":"2025-03-27T15:55:01Z"},"name":{"type":"string","description":"Original file name of the attachment, including its extension.","example":"2023-10-Account-Subscription.pdf"},"url":{"type":"string","description":"Download URL for the attachment file.","example":"https://storage.procore.com/api/v5/files/us-east-1/companies/3"},"uuid":{"type":"string","description":"Globally unique identifier of the underlying stored file, stable across environments.","example":"f00295a1de33201c16f63db458a653eabadd"}}}}}}}}}}},"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"}}}}}}}}}}},"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',\n  headers: {'content-type': 'application/json'},\n  body: {\n    number: 'FS-001',\n    name: 'State Infrastructure Bond 2025',\n    description: 'State bond allocation for transportation projects',\n    balance: '10000.0',\n    attachment_ids: ['1', '2'],\n    upload_ids: ['01J15GF28TDQ2X20RNRJ5DDX27', '01J15GFDKQ4TDRBQPZ2M6E9H44']\n  },\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 = \"{\\\"number\\\":\\\"FS-001\\\",\\\"name\\\":\\\"State Infrastructure Bond 2025\\\",\\\"description\\\":\\\"State bond allocation for transportation projects\\\",\\\"balance\\\":\\\"10000.0\\\",\\\"attachment_ids\\\":[\\\"1\\\",\\\"2\\\"],\\\"upload_ids\\\":[\\\"01J15GF28TDQ2X20RNRJ5DDX27\\\",\\\"01J15GFDKQ4TDRBQPZ2M6E9H44\\\"]}\"\n\nheaders = { 'content-type': \"application/json\" }\n\nconn.request(\"POST\", \"/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources\", 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 \\\n  --header 'content-type: application/json' \\\n  --data '{\"number\":\"FS-001\",\"name\":\"State Infrastructure Bond 2025\",\"description\":\"State bond allocation for transportation projects\",\"balance\":\"10000.0\",\"attachment_ids\":[\"1\",\"2\"],\"upload_ids\":[\"01J15GF28TDQ2X20RNRJ5DDX27\",\"01J15GFDKQ4TDRBQPZ2M6E9H44\"]}'"},{"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\"),\n    Content = new StringContent(\"{\\\"number\\\":\\\"FS-001\\\",\\\"name\\\":\\\"State Infrastructure Bond 2025\\\",\\\"description\\\":\\\"State bond allocation for transportation projects\\\",\\\"balance\\\":\\\"10000.0\\\",\\\"attachment_ids\\\":[\\\"1\\\",\\\"2\\\"],\\\"upload_ids\\\":[\\\"01J15GF28TDQ2X20RNRJ5DDX27\\\",\\\"01J15GFDKQ4TDRBQPZ2M6E9H44\\\"]}\")\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 Funding Sources Endpoint","description":"Create a Company Funding Source","endpoint":"POST /companies/{company_id}/funding_sources","type":"new","breaking":false,"datestamp":"2026-01-23","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Align POST Funding Sources request schema with Funding Rules","description":"Update create request payload to accept top-level attributes (number, name, description, balance) and remove the funding_source wrapper object.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":true,"datestamp":"2026-03-31","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Make description optional on Create","description":"Make description optional on create; responses may return null.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-05-11","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Add funding source attachment support in create and details include","description":"Accept attachment_ids and upload_ids in create payloads, persist resulting attachments, and support include=attachments in funding source details responses.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-05-13","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Make number optional on POST Funding Sources Endpoint","description":"The number field is no longer required when creating a funding source. When omitted, a number is automatically assigned based on the previous funding source number within the company scope.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-05-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Expand Standard management access to Funding Sources create endpoint","description":"Users with Standard access to Funding Sources can now create funding sources while company administrators retain full access.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-07-20","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Include attachments in POST Funding Sources responses","description":"Create always returns attachments on 201, including an empty array when none exist. Show still requires include=attachments.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":false,"datestamp":"2026-09-21","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Trim Funding Source number","description":"Funding Source number is now trimmed, removing any leading or trailing whitespace.","endpoint":"POST /companies/{company_id}/funding_sources","type":"refinement","breaking":true,"datestamp":"2026-10-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"summary":"Bound funding source balance range and scale","description":"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","type":"fix","breaking":true,"datestamp":"2026-10-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"},{"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","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#create-funding-source"}]},"x-compliance-level":"full"},"/rest/v2.0/companies/{company_id}/funding_sources/totals":{"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"}}],"get":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"resource","summary":"Show Funding Sources Totals","description":"Returns aggregated balance totals across the company's funding sources. Totals reflect every funding source matching the supplied status filter (not a paginated subset), so the result is suitable for summary tiles and reporting.\nRequires the `view_funding_sources` granular permission on the Funding Sources tool.","tags":["Funding Sources"],"parameters":[{"name":"filters[status][]","in":"query","description":"Filter by status. Prefer the repeatable array form, e.g. `filters[status][]=ACTIVE\u0026filters[status][]=INACTIVE`. A single scalar value (`filters[status]=ACTIVE`) is also accepted for backwards compatibility. Defaults to `ACTIVE` when omitted.","required":false,"style":"form","explode":true,"schema":{"oneOf":[{"type":"array","title":"any of","items":{"type":"string","enum":["ACTIVE","INACTIVE"]}},{"type":"string","title":"exact","enum":["ACTIVE","INACTIVE"]}]},"example":["ACTIVE","INACTIVE"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Aggregated balances across the matching funding sources. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency shared by the aggregated funding sources.","example":"USD"},"total_balance":{"type":"string","format":"decimal","description":"Sum of total values across matching funding sources.","example":"1500.00"},"allocated":{"type":"string","format":"decimal","description":"Sum of funding assigned to projects across matching funding sources.","example":"500.00"},"available_to_allocate":{"type":"string","format":"decimal","description":"Remaining funding capacity across projects. Equal to total_balance minus allocated.","example":"900.00"},"appropriated":{"type":"string","format":"decimal","description":"Sum of amounts designated to project scopes through approved prime contracts.","example":"100.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts. Equal to allocated minus appropriated.","example":"400.00"},"committed":{"type":"string","format":"decimal","description":"Sum of amounts tied to approved subcontracts, purchase orders, and change orders.","example":"200.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds not yet committed. Equal to allocated minus committed.","example":"700.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"700.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"300.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against matching funding sources. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"100.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed through approved commitment invoices.","example":"80.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed through approved direct costs.","example":"20.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"400.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"120.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed through approved upstream invoices.","example":"50.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"450.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"50.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"}}}}}}}},"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 Funding Sources Totals Endpoint","description":"Return aggregated balance totals across a company's funding sources. Supports the same filters[status] parameter as the list endpoint and reflects every matching funding source rather than a paginated subset.","endpoint":"GET /companies/{company_id}/funding_sources/totals","type":"new","breaking":false,"datestamp":"2026-05-18","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#show-funding-sources-totals"},{"summary":"Filter Funding Sources totals by status using array query params","description":"The status filter now uses a repeatable array query parameter, e.g. filters[status][]=ACTIVE\u0026filters[status][]=INACTIVE. Defaults to ACTIVE when omitted.","endpoint":"GET /companies/{company_id}/funding_sources/totals","type":"refinement","breaking":false,"datestamp":"2026-06-30","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#show-funding-sources-totals"},{"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/totals","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#show-funding-sources-totals"}]},"x-compliance-level":"full"},"/rest/v2.0/companies/{company_id}/funding_sources/{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":"id","in":"path","required":true,"description":"Unique string identifier of the funding source. Use in GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{id}`.","schema":{"type":"string"},"example":"1"}],"get":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"resource","summary":"Show Funding Source","description":"Returns a funding source for a company.\nRequires the `view_funding_sources` granular permission on the Funding Sources tool.","tags":["Funding Sources"],"parameters":[{"name":"include","in":"query","required":false,"description":"Comma-separated list of related resources to embed. Use `balances` to include balance details or `attachments` to include funding source attachments.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["balances","attachments"]},"example":["balances"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Funding Sources","properties":{"data":{"type":"object","description":"A funding source — a company-level pool of money that can be entitled to projects and drawn down as commitments are made.","required":["id","number","name","balance","status","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier for the funding source. Use as the `{id}` path parameter for GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{id}`, and as `{funding_source_id}` for entries and project-entitlement endpoints.","example":"1"},"number":{"type":"string","maxLength":255,"description":"Human-readable funding source number, unique within the company. Auto-assigned on create when not supplied.","example":"FS-001"},"name":{"type":"string","maxLength":255,"description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"},"description":{"type":"string","nullable":true,"maxLength":2000,"description":"Free-text description of the funding source.","example":"State bond allocation for transportation projects"},"balance":{"type":"string","format":"decimal","description":"Current total balance of the funding source, derived from the sum of its entries. Returned with exactly 2 fractional digits.","example":"10000.00"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Lifecycle state. Filter collections with `filters[status][]`; omitted filter defaults to `ACTIVE`.","example":"ACTIVE"},"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":0},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was created.","example":"2016-03-14T16:52:22Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was last updated.","example":"2016-03-14T16:52:22Z"},"deleted_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was soft-deleted. Null while the source is not deleted.","example":"2016-03-14T16:52:22Z","nullable":true},"currency_configuration":{"type":"object","description":"Currency of this funding source. Use `currency_iso_code` to interpret `balance` and every amount in `balances`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the funding source. Unset until a currency is configured.","example":"USD","nullable":true}}},"balances":{"type":"object","nullable":true,"description":"Company-level balance breakdown. Present only when `include=balances` is requested; omit the include (or treat as null) when you only need `balance`. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency of these balances.","example":"USD"},"total_balance":{"type":"string","format":"decimal","description":"Total value of the funding source (same concept as `balance`).","example":"1500.00"},"allocated":{"type":"string","format":"decimal","description":"Sum of funding assigned to specific projects.","example":"500.00"},"appropriated":{"type":"string","format":"decimal","description":"Amount formally designated to project scopes through approved prime contracts.","example":"100.00"},"committed":{"type":"string","format":"decimal","description":"Amount tied to approved subcontracts, purchase orders, and change orders.","example":"200.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds not yet committed. Equal to allocated minus committed.","example":"700.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"700.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"300.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against this funding source. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"100.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed through approved commitment invoices.","example":"80.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed through approved direct costs.","example":"20.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"400.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"120.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed through approved upstream invoices.","example":"50.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"450.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"50.00"},"available_to_allocate":{"type":"string","format":"decimal","description":"Remaining funding capacity across projects. Equal to total_balance minus allocated.","example":"900.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts. Equal to allocated minus appropriated.","example":"400.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"}}},"attachments":{"type":"array","nullable":true,"description":"Attached files. Always present on create and update responses, including an empty array when none exist. Present on show when `include=attachments` is requested.","items":{"type":"object","description":"Funding Source Attachment","required":["id","content_type","created_at","name","url","uuid"],"properties":{"id":{"type":"string","description":"Unique string identifier of the attachment. Pass in `attachment_ids` on funding source create/update to retain this attachment.","example":"32"},"content_type":{"type":"string","description":"MIME type of the attached file.","example":"application/pdf"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the attachment was created.","example":"2025-03-27T15:55:01Z"},"name":{"type":"string","description":"Original file name of the attachment, including its extension.","example":"2023-10-Account-Subscription.pdf"},"url":{"type":"string","description":"Download URL for the attachment file.","example":"https://storage.procore.com/api/v5/files/us-east-1/companies/3"},"uuid":{"type":"string","description":"Globally unique identifier of the underlying stored file, stable across environments.","example":"f00295a1de33201c16f63db458a653eabadd"}}}}}}}}}}},"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',\n  qs: {include: 'balances'}\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?include=balances\")\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?include=balances'"},{"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?include=balances\"),\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 Funding Source Endpoint","description":"Fetch a Company Funding Source","endpoint":"GET /companies/{company_id}/funding_sources/{id}","type":"new","breaking":false,"datestamp":"2026-01-23","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#show-funding-source"},{"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/{id}","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#show-funding-source"}]},"patch":{"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"x-endpoint-type":"mutation","summary":"Update Funding Source","description":"Updates a funding source for a company.\nRequires the `update_funding_sources` granular permission on the Funding Sources tool.","tags":["Funding Sources"],"requestBody":{"content":{"application/json":{"schema":{"title":"Body","type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":255,"description":"Human-readable funding source number, unique within the company. Leading and trailing whitespace is stripped before storage and uniqueness checks; internal spaces are preserved.","example":"FS-001"},"name":{"type":"string","minLength":1,"maxLength":255,"description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"},"description":{"type":"string","nullable":true,"maxLength":2000,"description":"Free-text description of the funding source.","example":"State bond allocation for transportation projects"},"balance":{"type":"string","format":"decimal","description":"Updated total balance of the funding source. Non-negative, with up to 26 digits before the decimal point and 4 after. Creates an INCREASE or DECREASE ledger entry for the delta.","example":"750.25"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Lifecycle state of the funding source. When provided, it must be the only field in the request body.","example":"INACTIVE"},"attachment_ids":{"type":"array","description":"Existing persisted attachment IDs to retain on the funding source. When attachment_ids or upload_ids are provided, omitted existing attachments are removed.","items":{"type":"string"},"example":["1","2"]},"upload_ids":{"type":"array","description":"New upload IDs from this update flow. The server maps them to persisted attachment IDs before replacing the funding source attachment set.","items":{"type":"string"},"example":["01J15GF28TDQ2X20RNRJ5DDX27","01J15GFDKQ4TDRBQPZ2M6E9H44"]}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Funding Sources","properties":{"data":{"type":"object","description":"A funding source — a company-level pool of money that can be entitled to projects and drawn down as commitments are made.","required":["id","number","name","balance","status","version","created_at","updated_at","currency_configuration"],"properties":{"id":{"type":"string","description":"Unique string identifier for the funding source. Use as the `{id}` path parameter for GET and PATCH `/rest/v2.0/companies/{company_id}/funding_sources/{id}`, and as `{funding_source_id}` for entries and project-entitlement endpoints.","example":"1"},"number":{"type":"string","maxLength":255,"description":"Human-readable funding source number, unique within the company. Auto-assigned on create when not supplied.","example":"FS-001"},"name":{"type":"string","maxLength":255,"description":"Display name of the funding source.","example":"State Infrastructure Bond 2025"},"description":{"type":"string","nullable":true,"maxLength":2000,"description":"Free-text description of the funding source.","example":"State bond allocation for transportation projects"},"balance":{"type":"string","format":"decimal","description":"Current total balance of the funding source, derived from the sum of its entries. Returned with exactly 2 fractional digits.","example":"10000.00"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Lifecycle state. Filter collections with `filters[status][]`; omitted filter defaults to `ACTIVE`.","example":"ACTIVE"},"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":0},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was created.","example":"2016-03-14T16:52:22Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was last updated.","example":"2016-03-14T16:52:22Z"},"deleted_at":{"type":"string","format":"date-time","description":"Timestamp when the funding source was soft-deleted. Null while the source is not deleted.","example":"2016-03-14T16:52:22Z","nullable":true},"currency_configuration":{"type":"object","description":"Currency of this funding source. Use `currency_iso_code` to interpret `balance` and every amount in `balances`.","properties":{"currency_iso_code":{"type":"string","description":"Currency of the funding source. Unset until a currency is configured.","example":"USD","nullable":true}}},"balances":{"type":"object","nullable":true,"description":"Company-level balance breakdown. Present only when `include=balances` is requested; omit the include (or treat as null) when you only need `balance`. Amounts are returned with exactly 2 fractional digits.","properties":{"currency_iso_code":{"type":"string","description":"Currency of these balances.","example":"USD"},"total_balance":{"type":"string","format":"decimal","description":"Total value of the funding source (same concept as `balance`).","example":"1500.00"},"allocated":{"type":"string","format":"decimal","description":"Sum of funding assigned to specific projects.","example":"500.00"},"appropriated":{"type":"string","format":"decimal","description":"Amount formally designated to project scopes through approved prime contracts.","example":"100.00"},"committed":{"type":"string","format":"decimal","description":"Amount tied to approved subcontracts, purchase orders, and change orders.","example":"200.00"},"uncommitted":{"type":"string","format":"decimal","description":"Allocated funds not yet committed. Equal to allocated minus committed.","example":"700.00"},"uncommitted_appropriation":{"type":"string","format":"decimal","description":"Appropriated funds not yet awarded to subcontracts or vendors. Equal to appropriated minus committed.","example":"700.00"},"available_to_commit":{"type":"string","format":"decimal","description":"Remaining funds available for new subcontracts and vendor commitments. Equal to allocated minus committed.","example":"300.00"},"spent":{"type":"string","format":"decimal","description":"Total of approved commitment invoices and direct costs billed against this funding source. Equal to spent_via_commitment plus spent_via_direct_cost.","example":"100.00"},"spent_via_commitment":{"type":"string","format":"decimal","description":"Amount billed through approved commitment invoices.","example":"80.00"},"spent_via_direct_cost":{"type":"string","format":"decimal","description":"Amount billed through approved direct costs.","example":"20.00"},"available_to_spend":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet spent through commitment invoices or direct costs. Equal to allocated minus spent.","example":"400.00"},"unspent_commitment":{"type":"string","format":"decimal","description":"Portion of committed funds not yet billed through commitment invoices. Equal to committed minus spent_via_commitment. Direct-cost spend does not reduce this value.","example":"120.00"},"drawn":{"type":"string","format":"decimal","description":"Total billed through approved upstream invoices.","example":"50.00"},"available_to_draw":{"type":"string","format":"decimal","description":"Remaining allocated funds not yet billed through approved upstream invoices. Equal to allocated minus drawn.","example":"450.00"},"undrawn_appropriation":{"type":"string","format":"decimal","description":"Portion of appropriated funds not yet billed through approved upstream invoices. Equal to appropriated minus drawn. Can be negative.","example":"50.00"},"available_to_allocate":{"type":"string","format":"decimal","description":"Remaining funding capacity across projects. Equal to total_balance minus allocated.","example":"900.00"},"available_to_appropriate":{"type":"string","format":"decimal","description":"Funding available for prime contracts. Equal to allocated minus appropriated.","example":"400.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"}}},"attachments":{"type":"array","nullable":true,"description":"Attached files. Always present on create and update responses, including an empty array when none exist. Present on show when `include=attachments` is requested.","items":{"type":"object","description":"Funding Source Attachment","required":["id","content_type","created_at","name","url","uuid"],"properties":{"id":{"type":"string","description":"Unique string identifier of the attachment. Pass in `attachment_ids` on funding source create/update to retain this attachment.","example":"32"},"content_type":{"type":"string","description":"MIME type of the attached file.","example":"application/pdf"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the attachment was created.","example":"2025-03-27T15:55:01Z"},"name":{"type":"string","description":"Original file name of the attachment, including its extension.","example":"2023-10-Account-Subscription.pdf"},"url":{"type":"string","description":"Download URL for the attachment file.","example":"https://storage.procore.com/api/v5/files/us-east-1/companies/3"},"uuid":{"type":"string","description":"Globally unique identifier of the underlying stored file, stable across environments.","example":"f00295a1de33201c16f63db458a653eabadd"}}}}}}}}}}},"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"}}}}}}}}}}},"409":{"description":"Conflict","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',\n  headers: {'content-type': 'application/json'},\n  body: {\n    number: 'FS-001',\n    name: 'State Infrastructure Bond 2025',\n    description: 'State bond allocation for transportation projects',\n    balance: '750.25',\n    status: 'INACTIVE',\n    attachment_ids: ['1', '2'],\n    upload_ids: ['01J15GF28TDQ2X20RNRJ5DDX27', '01J15GFDKQ4TDRBQPZ2M6E9H44']\n  },\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 = \"{\\\"number\\\":\\\"FS-001\\\",\\\"name\\\":\\\"State Infrastructure Bond 2025\\\",\\\"description\\\":\\\"State bond allocation for transportation projects\\\",\\\"balance\\\":\\\"750.25\\\",\\\"status\\\":\\\"INACTIVE\\\",\\\"attachment_ids\\\":[\\\"1\\\",\\\"2\\\"],\\\"upload_ids\\\":[\\\"01J15GF28TDQ2X20RNRJ5DDX27\\\",\\\"01J15GFDKQ4TDRBQPZ2M6E9H44\\\"]}\"\n\nheaders = { 'content-type': \"application/json\" }\n\nconn.request(\"PATCH\", \"/rest/v2.0/companies/%7Bcompany_id%7D/funding_sources/1\", 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 \\\n  --header 'content-type: application/json' \\\n  --data '{\"number\":\"FS-001\",\"name\":\"State Infrastructure Bond 2025\",\"description\":\"State bond allocation for transportation projects\",\"balance\":\"750.25\",\"status\":\"INACTIVE\",\"attachment_ids\":[\"1\",\"2\"],\"upload_ids\":[\"01J15GF28TDQ2X20RNRJ5DDX27\",\"01J15GFDKQ4TDRBQPZ2M6E9H44\"]}'"},{"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\"),\n    Content = new StringContent(\"{\\\"number\\\":\\\"FS-001\\\",\\\"name\\\":\\\"State Infrastructure Bond 2025\\\",\\\"description\\\":\\\"State bond allocation for transportation projects\\\",\\\"balance\\\":\\\"750.25\\\",\\\"status\\\":\\\"INACTIVE\\\",\\\"attachment_ids\\\":[\\\"1\\\",\\\"2\\\"],\\\"upload_ids\\\":[\\\"01J15GF28TDQ2X20RNRJ5DDX27\\\",\\\"01J15GFDKQ4TDRBQPZ2M6E9H44\\\"]}\")\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 Funding Sources Endpoint","description":"Update company-level Funding Sources.","endpoint":"PATCH /companies/{company_id}/funding_sources/{id}","type":"new","breaking":false,"datestamp":"2026-04-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"},{"summary":"Make description optional on Update","description":"Make description optional on update; responses may return null.","endpoint":"PATCH /companies/{company_id}/funding_sources/{id}","type":"refinement","breaking":false,"datestamp":"2026-05-11","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"},{"summary":"Add funding source attachment support on update","description":"Accept attachment_ids and upload_ids in update payloads and replace the funding source attachment state with the retained existing and newly uploaded attachments.","endpoint":"PATCH /companies/{company_id}/funding_sources/{id}","type":"refinement","breaking":false,"datestamp":"2026-05-27","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"},{"summary":"Expand Standard management access to Funding Source update endpoint","description":"Users with Standard access to Funding Sources can now update funding sources while company administrators retain full access.","endpoint":"PATCH /companies/{company_id}/funding_sources/{id}","type":"refinement","breaking":false,"datestamp":"2026-07-20","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"},{"summary":"Trim Funding Source number","description":"Funding Source number is now trimmed, removing any leading or trailing whitespace.","endpoint":"PATCH /companies/{company_id}/funding_sources/{id}","type":"refinement","breaking":true,"datestamp":"2026-10-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"},{"summary":"Bound funding source balance update range and scale","description":"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/{id}","type":"fix","breaking":true,"datestamp":"2026-10-14","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"},{"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/{id}","type":"refinement","breaking":false,"datestamp":"2026-11-04","versions":["2.0"],"x-doc":{"visibility":"public","stage":"ga","exposure":"public"},"link":"funding-sources?version=2.0#update-funding-source"}]},"x-compliance-level":"full"}}}