Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Claim Input
Use this input to create a claim with claim items and optional documents.
- Root XML tag
- <ClaimInput>
- JSON example
-
1{ 2"name": "Medical reimbursement", 3"accountId": "001XXXXXXXXXXXXXXX", 4"status": "Open", 5"claimReason": "Out-of-pocket medical expenses", 6"estimatedAmount": "250.00", 7"claimItems": [ 8{ "name": "Office visit", "quantity": 1, "productId": "01tXXXXXXXXXXXXXXX" } 9], 10"documents": [ 11{ "contentDocumentId": "069XXXXXXXXXXXXXXX", "shareType": "V", "status": "New" } 12] 13} - Properties
-
Name Type Description Required or Optional Available Version accountId String The claim account ID. 68.0 claimItems ConnectApi.ClaimItemInput[] Claim items to create. 68.0 claimReason String The claim reason. 68.0 currencyIsoCode String The ISO 4217 currency code. This field is required for multicurrency orgs. 68.0 customFields ConnectApi.OutboundPaymentsCustomFieldInput[] Custom fields for this claim. 68.0 documents ConnectApi.DocumentInput[] Documents to attach to this claim. 68.0 estimatedAmount String The estimated claim amount. 68.0 name String The claim name. 68.0 paymentInstrumentId String The claim payment instrument ID. 68.0 status String The claim status. 68.0 summary String The claim summary. 68.0