Flipdish · JSON Structure

Payments Upcoming Invoice Structure

UpcomingInvoice.

Type: object Properties: 8 Required: 3
RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

UpcomingInvoice is a JSON Structure definition published by Flipdish, describing 8 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Amount NextBillingDate Subtotal TotalExcludingTax AmountDue Tax Items Discounts

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/payments-upcoming-invoice-structure.json",
  "name": "UpcomingInvoice",
  "description": "UpcomingInvoice.",
  "type": "object",
  "properties": {
    "Amount": {
      "description": "Amount",
      "type": "double",
      "example": 12.5
    },
    "NextBillingDate": {
      "description": "Next billing date",
      "type": "datetime",
      "example": "2026-06-02T12:00:00Z"
    },
    "Subtotal": {
      "description": "Subtotal",
      "type": "double",
      "example": 12.5
    },
    "TotalExcludingTax": {
      "description": "Total excluding tax",
      "type": "double",
      "nullable": true,
      "example": 12.5
    },
    "AmountDue": {
      "description": "Amount due",
      "type": "double",
      "example": 12.5
    },
    "Tax": {
      "description": "Tax",
      "type": "double",
      "example": 1.0
    },
    "Items": {
      "description": "Items",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/InvoiceItem"
      },
      "example": []
    },
    "Discounts": {
      "description": "Discounts",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/InvoiceDiscount"
      },
      "example": []
    }
  },
  "required": [
    "Subtotal",
    "AmountDue",
    "Tax"
  ]
}