Create interim payment
Creates a new interim payment (partial payment, advance payment, prepayment) in the specified project.
How it works:
- The new payment is added to the project with the provided title, description, and amount
- Sort order is automatically set to the maximum existing sort order plus 1 (appears at the end of the list)
- The payment is initially marked as not billed (isBilled: false)
- Description can be provided as HTML or Markdown and is automatically converted to internal IDoc format
Required fields:
- title: Short label for the payment (e.g., “Prepayment”, “50% Deposit”, “Milestone 1”)
- amount: Payment amount (must be positive, minimum 0.01)
Optional fields:
- description: Detailed notes about the payment (e.g., “Client paid €1,000 upfront”). Can be provided as HTML or Markdown format
What happens after creation:
- The payment becomes available for billing in the invoicing system
- When used in an invoice, it is automatically deducted from the final invoice amount
- The payment can be reordered using the sort endpoint
Validation:
- Amount must be a positive number (minimum 0.01)
- Title cannot be empty
- Project must exist and be accessible
Permissions: Requires Projects.edit permission
/projects/{projectId}/interim-paymentsAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredprojectIdstringrequiredapplication/jsonamountnumberrequiredPayment amount in the workspace currency. Must be a positive number with a minimum value of 0.01. This amount will be deducted from the final invoice when the payment is billed.
descriptionstringOptional detailed description or notes about the payment. Can be provided as HTML (e.g., "<p>Client paid €1,000 upfront</p>") or Markdown format. The system automatically detects the format and converts it to internal IDoc format for storage. If not provided, the description will be empty.
titlestringrequiredShort label or title for the payment. Examples: "Prepayment", "50% Deposit", "Milestone 1", "Advance Payment Q1". This field is required and cannot be empty.
Interim payment created successfully
successbooleanrequiredOperation success flag
Invalid input data
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions
Project not found