Microsoft Dynamics · Schema

Sales Invoice

A sales invoice in Microsoft Dynamics 365, representing a bill issued to a customer for goods or services.

CRMERPMicrosoft Dynamics

Properties

Name Type Description
id string The unique identifier of the sales invoice.
number string The sales invoice number.
invoiceDate string The invoice date.
postingDate string The posting date.
dueDate string The payment due date.
customerId string The unique identifier of the customer.
customerNumber string The customer number.
customerName string The name of the customer.
currencyCode string The currency code for the invoice.
status string The status of the sales invoice.
totalAmountExcludingTax number The total amount excluding tax.
totalAmountIncludingTax number The total amount including tax.
lastModifiedDateTime string The date and time the record was last modified.
View JSON Schema on GitHub

JSON Schema

sales-invoice.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-dynamics/refs/heads/main/json-schema/sales-invoice.json",
  "title": "Sales Invoice",
  "description": "A sales invoice in Microsoft Dynamics 365, representing a bill issued to a customer for goods or services.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the sales invoice.",
      "readOnly": true
    },
    "number": {
      "type": "string",
      "description": "The sales invoice number."
    },
    "invoiceDate": {
      "type": "string",
      "format": "date",
      "description": "The invoice date."
    },
    "postingDate": {
      "type": "string",
      "format": "date",
      "description": "The posting date."
    },
    "dueDate": {
      "type": "string",
      "format": "date",
      "description": "The payment due date."
    },
    "customerId": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the customer."
    },
    "customerNumber": {
      "type": "string",
      "description": "The customer number."
    },
    "customerName": {
      "type": "string",
      "description": "The name of the customer.",
      "readOnly": true
    },
    "currencyCode": {
      "type": "string",
      "description": "The currency code for the invoice."
    },
    "status": {
      "type": "string",
      "description": "The status of the sales invoice.",
      "readOnly": true
    },
    "totalAmountExcludingTax": {
      "type": "number",
      "description": "The total amount excluding tax.",
      "readOnly": true
    },
    "totalAmountIncludingTax": {
      "type": "number",
      "description": "The total amount including tax.",
      "readOnly": true
    },
    "lastModifiedDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the record was last modified.",
      "readOnly": true
    }
  },
  "required": ["customerNumber"]
}