{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-update-accounts-receivable-invoice-dto-schema.json",
  "title": "UpdateAccountsReceivableInvoiceDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-accounts-receivable-invoices-api-api-openapi.yml#/components/schemas/UpdateAccountsReceivableInvoiceDto",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "format": "uuid",
      "description": "The AR customer ID."
    },
    "customerCode": {
      "type": "string",
      "description": "The AR customer code, typically an abbreviated name for the customer."
    },
    "customerBillToId": {
      "type": "string",
      "format": "uuid",
      "description": "The AR customer bill to address ID."
    },
    "customerBillToCode": {
      "type": "string",
      "description": "The AR customer bill to address code."
    },
    "customerShipToId": {
      "type": "string",
      "format": "uuid",
      "description": "The AR customer ship to address ID."
    },
    "customerShipToCode": {
      "type": "string",
      "description": "The AR customer ship to address code."
    },
    "buildingCode": {
      "type": "string",
      "description": "The code used to look up the building resource."
    },
    "periodDisplay": {
      "type": "string",
      "description": "The period in which an AR invoice is recorded."
    },
    "invoiceDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date an AR invoice was created."
    },
    "currencyCode": {
      "type": "string",
      "description": "The AR invoice currency code."
    },
    "exchangeRate": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice exchange rate."
    },
    "terms": {
      "type": "string",
      "description": "The AR terms."
    },
    "dueDate": {
      "type": "string",
      "format": "date-time",
      "description": "The AR invoice due date."
    },
    "invoiceNote": {
      "type": "string",
      "description": "A note added to an AR invoice."
    },
    "internalNote": {
      "type": "string",
      "description": "An internal note added to an AR invoice."
    },
    "invoiceStatus": {
      "type": "string",
      "description": "The AR invoice status."
    },
    "governmentIssuedNumber": {
      "type": "string",
      "description": "The AR invoice government issued number."
    },
    "poId": {
      "type": "string",
      "format": "uuid",
      "description": "The AR invoice purchase order ID."
    },
    "poNumber": {
      "type": "string",
      "description": "The AR invoice purchase order number."
    },
    "pastDueReasonCode": {
      "type": "string",
      "description": "The AR invoice past due reason code."
    },
    "lines": {
      "type": "array",
      "description": "A list of AR lines.",
      "items": {
        "type": "object",
        "properties": {}
      }
    },
    "lineId": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for the AR invoice line item."
    },
    "accountId": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for the AR invoice line account."
    },
    "accountNumber": {
      "type": "string",
      "description": "The AR invoice line account number."
    },
    "partId": {
      "type": "string",
      "format": "uuid",
      "description": "The AR invoice line part ID."
    },
    "partNumber": {
      "type": "string",
      "description": "The AR invoice line part number."
    },
    "description": {
      "type": "string",
      "description": "A description of the AR invoice line."
    },
    "referenceNo": {
      "type": "string",
      "description": "The AR invoice line reference number."
    },
    "unitPrice": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice line unit price."
    },
    "quantity": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice line quantity."
    },
    "accountingJobNumber": {
      "type": "string",
      "description": "The accounting job that the AR invoice line is a part of, if applicable."
    },
    "itemTaxCode": {
      "type": "string",
      "description": "The AR invoice item tax code."
    },
    "taxCodes": {
      "type": "array",
      "description": "The list of AR taxes.",
      "items": {
        "type": "string"
      }
    }
  }
}