Invoice
An Invoice represents the financial component following an instance of Service Delivery.
Fields & Relationships
The table below provides a comprehensive overview of all fields and relationships for the Invoice object in Maica. Please refer to the table below for detailed information.
Click here to view and download the complete Invoice Schema.
Validation Rules
The list below outlines the Validation Rules applied to the Invoice Object in Maica.
Please refer to the list below for more detailed information on each Validation Rule.
Funding Type Required When Invoice is Saved
This rule ensures that the Funding Type
is populated when the Invoice is saved.
Rule Name
VAL_INVOICE_0001
Error Message
VAL_0001: Please ensure that the Funding Type is provided.
Error Location
Funding Type
ISPICKVAL(maica_cc__Funding_Type__c, "")
Restrict Invoice Amount Change
This rule ensures that the Invoice Total Amount
cannot be changed when a corresponding Stripe Invoice exists.
Rule Name
Restrict_Invoice_Amount_Change
Error Message
The Total Amount cannot be be updated as there is a corresponding Stripe Invoice
Error Location
Top of Page
AND(
NOT(ISBLANK(maica__Stripe_Invoice_ID__c)),
ISCHANGED(maica__Total_Amount__c)
)
Automation
Flows
The list below outlines the Flows applied to the Invoice Object in Maica.
Please refer to the list below for more detailed information on each Flow.
Cancel Invoice
This flow is designed to cancel an invoice by updating its status to "Cancelled."
Flow Label
Maica - Cancel Invoice
API Name
maica__Maica_Cancel_Invoice
Type
Screen Flow
Flow Summary
This flow is designed to cancel an invoice by updating its status to "Cancelled".
Retrieves an invoice.
Checks the invoice status.
Allows the user to confirm cancellation.
Updates the invoice status to "Cancelled".
Notifies the user of successful cancellation.
Invoice Status Management
This flow evaluates and updates the status of an invoice based on its payment details and other related conditions.
Flow Label
Maica - Invoice Status Management
API Name
maica__Invoice_Status_Management
Type
Autolaunched Flow
Flow Summary
This flow ensures that the invoice status is accurately updated based on the payment details and other conditions.
Starts on invoice creation or update.
Evaluates the status based on various conditions.
Assigns the appropriate status (Cancelled, Not Paid, Partially Paid, Fully Paid).
Trigger Handlers
The table below outlines the Trigger Handlers applied to the Invoice Object in Maica and their Load Order
.
Please refer to the list below for more detailed information on each Trigger Handler.
Invoice Manage Claim Schedule
This trigger is designed to manage the claim schedule for invoices in Maica.
Load Order
1
Label
InvoiceManageClaimSchedule_MDTM
Invoice Next Schedule Date
This trigger is designed to manage the next scheduled date for invoices in Maica. This ensures correct calculation of the next scheduled date for invoices, maintaining accurate scheduling data.
Load Order
1
Label
InvoiceNextScheduledDate_MDTM
Invoice Defaults
This trigger is designed to manage the default values for invoices in Maica.
Load Order
1
Label
InvoiceDefaults_MDTM
Invoice Rollup Expenditure
This trigger is designed to manage the rollup of expenditures for invoices in Maica.
Load Order
2
Label
InvoiceRollupExpenditure_MDTM
Invoice Claim
This trigger is designed to manage the claim process for invoices in Maica. This ensures correct generation of claims for invoices, maintaining accurate claim data.
Load Order
10
Label
InvoiceClaim_MDTM
Last updated
Was this helpful?