The alignment for collecting the pending line items into an invoice. Defaults to subscription, which means that we are to create a new invoice every time the a subscription period starts (for in advance items) or ends (for in arrears items).
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BillingWorkflowCollectionAlignment",
"title": "BillingWorkflowCollectionAlignment",
"description": "The alignment for collecting the pending line items into an invoice.\n\nDefaults to subscription, which means that we are to create a new invoice every time the\na subscription period starts (for in advance items) or ends (for in arrears items).",
"type": "object",
"discriminator": {
"propertyName": "type",
"mapping": {
"subscription": "#/components/schemas/BillingWorkflowCollectionAlignmentSubscription",
"anchored": "#/components/schemas/BillingWorkflowCollectionAlignmentAnchored"
}
},
"oneOf": [
{
"$ref": "#/components/schemas/BillingWorkflowCollectionAlignmentSubscription"
},
{
"$ref": "#/components/schemas/BillingWorkflowCollectionAlignmentAnchored"
}
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.