API ReferenceVendor Bill
vendorBill.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| purchaseOrderId | string | Yes | — | ID of the associated purchase order |
| billNumber | unknown | No | — | Bill number |
| billType | enum(standard, progress, final, retainage_release) | Yes | "standard" | Bill type |
| amount | number | Yes | — | Amount |
| retainageWithheldAmount | unknown | No | — | Retainage withheld amount |
| s3Key | unknown | No | — | S3key |
| fileName | unknown | No | — | File name |
| receivedAt | string.date-time | No | — | Received at |
| dueDate | unknown | No | — | Due date |
Example
{
"purchaseOrderId": "550e8400-e29b-41d4-a716-446655440000",
"billNumber": null,
"billType": "standard",
"amount": 0,
"retainageWithheldAmount": null,
"s3Key": null
}