{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BillingWorkflowInvoicingSettings",
  "title": "Workflow invoice settings",
  "description": "Invoice settings for a billing workflow.",
  "type": "object",
  "properties": {
    "auto_advance": {
      "description": "Whether to automatically issue the invoice after the draftPeriod has passed.",
      "type": "boolean",
      "default": true
    },
    "draft_period": {
      "description": "The period for the invoice to be kept in draft status for manual reviews.",
      "type": "string",
      "format": "ISO8601",
      "example": "P1D",
      "default": "P0D"
    },
    "progressive_billing": {
      "description": "Should progressive billing be allowed for this workflow?",
      "type": "boolean",
      "default": true
    }
  }
}