Skip to main content

Manage Charges


Use Present Charges to add, update, or remove additional charge line items before submission of the Visit Took Place report.

Open this screen from the charges area in the visit summary. The screen displays charge values and recalculates totals when quantity or price changes.



This screen includes:

#ElementDescription
1Charge forSpecifies the charge description
2QuantitySpecifies the number of items
3Price per itemSpecifies the price for each item
4TotalDisplays quantity multiplied by price
5Charge actionsAdd, update, or remove a charge

Workflow

Add a Charge

  1. Open the Visit Took Place screen.
  2. Select Add charge.
  3. Enter a value in Charge for.
  4. Enter the quantity.
  5. Enter the price per item.
  6. Review the calculated total.
  7. Select Add charge.
  8. Apply the returned update set to the visit summary.

Update a Charge

  1. Select an existing charge.
  2. Change Charge for, Quantity, or Price per item.
  3. Review the calculated total.
  4. Select Update.
  5. Apply the returned update set.

Remove a Charge

  1. Select an existing charge.
  2. Select Remove.
  3. Apply the returned update set.

Validations

ScenarioApp behaviorSDK output
Required charge value is missingBlock submission and identify the affected fieldValidation error
Quantity is not numericBlock submission and identify the quantity fieldValidation error
Price per item is not numericBlock submission and identify the price fieldValidation error
Numeric value does not meet field rulesBlock submissionValidation error
Add request succeedsAdd the charge to the visit summaryPATCH update set
Update request succeedsUpdate the specified chargePATCH update set
Delete request succeedsRemove the specified chargePATCH update set

Actions

ScenarioApp behaviorSDK output
Charge for changesUpdate the charge descriptionForm state update
Quantity changesRecalculate the charge totalPATCH update set
Price per item changesRecalculate the charge totalPATCH update set
Add charge selectedAdd the charge line itemPATCH update set
Update selectedSave changes to the specified chargePATCH update set
Remove selectedRemove the specified chargePATCH update set

Endpoint Resources

Present Charge

PUT 

v3/appointments/{appointment-id}/summary/charge

Displays the Manage Charges screen for the specified appointment.

The returned screen includes the charge description, quantity, price, calculated totals, and applicable charge actions.

Path Parameters

ParameterTypeRequiredDescription
appointment-idIntegerYesIdentifies the appointment

UI Element Types

LevelReferenceTypeValuePlacement
1charge-infoEditCharge for
1charge-quantityIntegerQuantity
1charge-priceDoublePrice per item
1charge-total-titleRegularTotal
1charge-total-spacerSpacer~
1charge-total-amountRegularQuantity × price in appointment currency~
1createButtonAdd chargeNew charge only
1updateButtonUpdateExisting charge only
1removeGhostRemoveExisting charge only

Add Charge

PATCH 

v3/appointments/{appointment-id}/summary/charge

Adds a charge line item to the appointment summary and returns an update set.

Update Charge

PATCH 

v3/appointments/{appointment-id}/summary/charge/{extra-id}/update

Updates the specified charge line item and returns an update set.

Patch Charge

PATCH 

v3/appointments/{appointment-id}/summary/charge/patch

Refreshes calculated values in the active charge screen after quantity or price changes.

note

Patch Charge applies incremental updates to the active charge screen for quantity and price changes. Update Charge applies changes to an existing charge identified by extra-id.

Delete Charge

PATCH 

v3/appointments/{appointment-id}/summary/charge/{extra-id}/delete

Removes the specified charge line item from the appointment summary and returns an update set.