Sage · Schema

CreateSalesInvoiceRequest

AccountingBusiness ManagementCloud SoftwareERPPayrollHR

Properties

Name Type Description
sales_invoice object
View JSON Schema on GitHub

JSON Schema

sage-createsalesinvoicerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateSalesInvoiceRequest",
  "title": "CreateSalesInvoiceRequest",
  "type": "object",
  "properties": {
    "sales_invoice": {
      "type": "object",
      "required": [
        "contact_id",
        "date",
        "line_items"
      ],
      "properties": {
        "contact_id": {
          "type": "string"
        },
        "date": {
          "type": "string",
          "format": "date"
        },
        "due_date": {
          "type": "string",
          "format": "date"
        },
        "reference": {
          "type": "string"
        },
        "line_items": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/LineItemInput"
          }
        }
      }
    }
  }
}