{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-fusion/json-schema/oracle-fusion-invoice-create-schema.json",
  "title": "InvoiceCreate",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-fusion-invoices-api-openapi.yml#/components/schemas/InvoiceCreate",
  "type": "object",
  "required": [
    "InvoiceNumber",
    "InvoiceAmount",
    "InvoiceCurrencyCode",
    "VendorName",
    "BusinessUnit"
  ],
  "properties": {
    "InvoiceNumber": {
      "type": "string",
      "description": "Invoice number"
    },
    "InvoiceAmount": {
      "type": "number",
      "format": "double",
      "description": "Total invoice amount"
    },
    "InvoiceCurrencyCode": {
      "type": "string",
      "description": "Currency code"
    },
    "InvoiceDate": {
      "type": "string",
      "format": "date",
      "description": "Invoice date"
    },
    "InvoiceType": {
      "type": "string",
      "enum": [
        "Standard",
        "Credit Memo",
        "Prepayment",
        "Mixed"
      ]
    },
    "VendorName": {
      "type": "string",
      "description": "Supplier name"
    },
    "VendorNumber": {
      "type": "string",
      "description": "Supplier number"
    },
    "VendorSiteCode": {
      "type": "string",
      "description": "Supplier site code"
    },
    "BusinessUnit": {
      "type": "string",
      "description": "Business unit name"
    },
    "Description": {
      "type": "string",
      "description": "Invoice description"
    },
    "PaymentTerms": {
      "type": "string",
      "description": "Payment terms"
    },
    "AccountingDate": {
      "type": "string",
      "format": "date",
      "description": "Accounting date"
    }
  }
}