You are here:
Configure a Document Schema for Invoices
Configure Unstructured Document Processing in Data Cloud by importing and publishing a JSON schema that extracts invoice details and payment request line items.
Before you begin, complete the steps in Claim Submission Setup Prerequisites.
- From the App Launcher, open Data Cloud.
- Open Process Content.
- Select Document AI, and then click New.
- Select Without a Source Object, and click Next.
- Select Show More Options.
- Select Import from JSON, and click Next.
-
Paste the JSON schema as provided.
{ "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"] } - Select Insert.
- Select Publish.
- Enter a document schema name.
- Select Save.
