bills
Create Bill
Create a new bill.
Required fields:
- recordId: Project ID (the project must exist first)
- calculationMethod: Must be "LINE_ITEMS" or "PERCENTAGE"
- lineItems: Array of at least one line item if calculationMethod is "LINE_ITEMS"
- percentage: Percentage if calculationMethod is "PERCENTAGE"
Line item rules for bills:
- unitCost must be greater than 0 (strictly positive — bills represent vendor costs)
- unitPrice may be negative (negative values represent discounts)
Optional fields:
- dueDate: ISO 8601 datetime string
- description: Bill description
- issueDate: ISO 8601 datetime string
post/bills
Request
- Base URL: https://api.coperniq.io/v1
- URL: https://api.coperniq.io/v1/bills
- Auth: API key in header x-api-key
Request body
Response
Bill created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.