Kontorion Billing API
string · requiredstringstringnumberstringstringstringstring · enum
Billing milestones are percentage-based checkpoints tied to a subscription's product delivery. They're designed for project-based or milestone-based billing - where charges are triggered when specific deliverables are completed rather than on a recurring schedule.
Example: A consulting engagement billed 25% at kickoff, 50% at mid-point, and 25% at completion.
Key concepts:
- Trigger type -
manual(you mark it complete) ordate(triggers automatically at a scheduled date) - Percentage - the fraction of total contract value to invoice when this milestone triggers
- Status -
pending,triggered, orinvoiced
Create a billing milestone
POST
https://api.kontorion.eu/v1
/subscriptions/{subscriptionId}/milestones
Creates a new billing milestone for a subscription
path Parameters
subscriptionIdSubscription UUID
Create a billing milestone › Request Body
descriptionobject
namepercentageproduct_idsubscription_idtrigger_datetrigger_typeEnum values:
MANUAL
DATE
EVENT
Create a billing milestone › Responses
Wrapped in data envelope
object