Loading
配置发票的文档模式

配置发票的文档模式

通过导入和发布提取发票详细信息和付款请求行项目的 JSON 模式,在 Data Cloud 中配置非结构化文档处理。

开始之前,请完成索赔提交设置先决条件中的步骤。

备注
备注 完全按照提供的方式使用 JSON 属性名称和嵌套。属性名称区分大小写。重命名属性或更改其在模式中的位置可能会阻止在提交索赔期间显示相应的信息。
  1. 从应用程序启动程序中,打开 Data Cloud。
  2. 打开进程内容。
  3. 选择文档 AI,然后单击新建。
  4. 选择没有源对象,然后单击下一步。
  5. 选择显示更多选项。
  6. 选择从 JSON 导入,然后单击下一步。
  7. 按照提供的方式粘贴 JSON 模式。
    {
      "title": "Payment Request Invoice Extraction",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "ReferenceNumber": {
          "type": "string",
          "description": "Invoice or reference number printed on the document"
        },
        "SubmittedDate": {
          "type": "string",
          "description": "Invoice date in MM/DD/YYYY format"
        },
        "ReceivedDate": {
          "type": "string",
          "description": "Date the invoice was received in MM/DD/YYYY format"
        },
        "DueDate": {
          "type": "string",
          "description": "Payment due date shown on the invoice in MM/DD/YYYY format"
        },
        "PaymentRequestLines": {
          "type": "array",
          "description": "Line items extracted from the invoice",
          "items": {
            "type": "object",
            "properties": {
              "ServiceAmount": {
                "type": "number",
                "description": "Line total price"
              },
              "RequestedAmount": {
                "type": "number",
                "description": "Amount requested for payment on this line"
              },
              "AdjustmentAmount": {
                "type": "number",
                "description": "Discount, copay, or deductible adjustment amount"
              },
              "Quantity": {
                "type": "number",
                "description": "Number of units or quantity of service"
              },
              "UnitPrice": {
                "type": "number",
                "description": "Price per unit"
              },
              "StartDateTime": {
                "type": "string",
                "description": "Line-level service start date and time in MM/DD/YYYY HH:MM:SS format"
              },
              "EndDateTime": {
                "type": "string",
                "description": "Line-level service end date and time in MM/DD/YYYY HH:MM:SS format"
              }
            },
            "required": ["ServiceAmount"]
          }
        }
      },
      "required": ["ReferenceNumber"]
    }
  8. 选择插入。
  9. 选择发布。
  10. 输入文档模式名称。
  11. 选择保存。
 
正在加载
Salesforce Help | Article