{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-accounts-receivable-invoice-dto-schema.json",
  "title": "AccountsReceivableInvoiceDto",
  "description": "The Accounts Receivable Invoice model.",
  "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/AccountsReceivableInvoiceDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The AR invoice ID."
    },
    "invoiceNumber": {
      "type": "string",
      "description": "The AR invoice number."
    },
    "creditMemo": {
      "type": "integer",
      "format": "int32",
      "description": "Specify an AR invoice credit memo."
    },
    "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."
    },
    "customerOrderNos": {
      "type": "string",
      "description": "The AR customer order numbers."
    },
    "customerPONo": {
      "type": "string",
      "description": "The AR customer purchase order number."
    },
    "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."
    },
    "transactionDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date on which an AR transaction was recorded."
    },
    "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."
    },
    "voucherNumber": {
      "type": "string",
      "description": "The AR invoice voucher number."
    },
    "status": {
      "type": "string",
      "description": "The AR invoice status."
    },
    "governmentIssuedNumber": {
      "type": "string",
      "description": "The AR invoice government issued number."
    },
    "type": {
      "type": "string",
      "description": "The AR invoice type."
    },
    "createdById": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the user who created the record."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date an AR invoice was created."
    },
    "modifiedById": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the user who last modified the record."
    },
    "modifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date an AR invoice was modified."
    },
    "taxableDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date the AR invoice tax was calculated."
    },
    "amount": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice amount."
    },
    "currencyAmount": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice currency amount."
    },
    "paid": {
      "type": "boolean",
      "description": "Specify that an AR invoice has been paid."
    },
    "paidDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date an AR invoice was paid."
    },
    "expectedPayDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date an AR invoice payment is due."
    },
    "paidPeriod": {
      "type": "string",
      "description": "The period in which an AR invoice was paid."
    },
    "discount": {
      "type": "number",
      "format": "double",
      "description": "The discount applicable to an AR invoice."
    },
    "discountDueDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date an AR invoice discount is due."
    },
    "balance": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice balance."
    },
    "currencyBalance": {
      "type": "number",
      "format": "double",
      "description": "The AR invoice currency balance."
    },
    "void": {
      "type": "boolean",
      "description": "Specify that an AR invoice has been voided."
    },
    "consolidatedLinkId": {
      "type": "string",
      "format": "uuid",
      "description": "The consolidated AR invoice ID."
    },
    "booked": {
      "type": "boolean",
      "description": "Specify that an AR invoice has a booked status."
    },
    "referenceNo": {
      "type": "string",
      "description": "The AR invoice reference number."
    },
    "shipperNo": {
      "type": "string",
      "description": "The AR invoice shipper number."
    },
    "poNumber": {
      "type": "string",
      "description": "The AR invoice purchase order number."
    },
    "poId": {
      "type": "string",
      "format": "uuid",
      "description": "The AR invoice purchase order ID."
    },
    "lines": {
      "type": "array",
      "description": "A list of AR invoice lines.",
      "items": {
        "type": "object",
        "description": "The Accounts Receivable Invoice Line model.",
        "properties": {}
      }
    }
  }
}