{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zobrx-com/json-schema/zobrx-com-post-v1-vendor-invoices-request-schema.json",
  "title": "PostV1VendorInvoicesRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/zobrx-com-openapi-generated.yml#/components/schemas/PostV1VendorInvoicesRequest",
  "type": "object",
  "properties": {
    "poNumber": {
      "type": "string",
      "description": "Purchase order number the invoice relates to."
    },
    "externalInvoiceId": {
      "type": "string",
      "description": "Identifier of the invoice in the external ERP."
    },
    "invoiceDate": {
      "type": "string",
      "description": "Date of the invoice (YYYY-MM-DD)."
    },
    "lines": {
      "type": "string",
      "description": "Array of invoice line items."
    },
    "vendorSku": {
      "type": "string",
      "description": "SKU for the line item."
    },
    "quantity": {
      "type": "string",
      "description": "Quantity for the line item."
    },
    "unitNetCost": {
      "type": "string",
      "description": "Object with minor amount and currency (e.g., { \"minor\": 20764, \"currency\": \"INR\" })."
    }
  },
  "required": [
    "poNumber",
    "externalInvoiceId",
    "invoiceDate",
    "lines",
    "vendorSku",
    "quantity",
    "unitNetCost"
  ]
}