Create Compliance Document
create_compliance_documentCreate a compliance document for a Procore Pay invoice by providing company, project, and invoice IDs. Document type, name, file IDs, and effective/expiration dates can be specified.
Instructions
Creates a compliance document Procore Pay must be enabled to use this endpoint.. Use this to create a new Payments in Procore. Creates a new Payments and returns the created object on success (HTTP 201). Required parameters: company_id, project_id, invoice_id. Procore API (v2.0): Construction Financials > Payments. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/compliance/invoices/{invoice_id}/documents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the Procore company | |
| project_id | Yes | URL path parameter — unique identifier for the Procore project | |
| invoice_id | Yes | URL path parameter — iD of the SC Invoice | |
| name | No | JSON request body field — name of the compliance document | |
| document_type | No | JSON request body field — document type of the compliance document | |
| prostore_file_ids | No | JSON request body field — array of Procore file IDs | |
| effective_at | No | JSON request body field — effective date of the compliance document | |
| expires_at | No | JSON request body field — expiration date of the compliance document |