Newer Version Available
InvoiceBatchRun
Represents a batch processing job in Subscription Management. During
an invoice batch run, all billing schedules that meet the specified criteria are processed,
resulting in the generation of invoices. This object is available in API version 55.0
and later.
An invoice batch run is controlled by a scheduler, which tells the system to start the run at a scheduled date and time. The scheduler also includes matching criteria, which are used to evaluate the billing schedules. Billing schedules that meet the specified criteria are included for processing in the invoice batch run.
When an invoice batch run is started, Subscription Management:
- Evaluates the billing schedule to see if it meets the criteria for inclusion in the batch invoice run.
- Generates an invoice record with a pending state.
- Makes calls to an external tax provider.
- Adds the tax to the invoice.
- Summarizes information about the billing schedules that were included in the invoice batch run and displays this information in the Invoice Batch Run record.
Supported Calls
describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()
Special Access Rules
This object is available when Subscription Management is enabled.
Fields
| Field | Details |
|---|---|
| BillingBatchSchedulerId |
|
| Comments |
|
| CompletionTime |
|
| CurrencyIsoCode |
|
| InvoiceBatchRunNumber |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| OwnerId |
|
| RecoveryStatus |
|
| StartTime |
|
| Status |
|
| TotalBillingSchedulesFailed |
|
| TotalBsSuccessfullyProcessed |
|
| TotalFilteredBillingSchedules |
|
| TotalInvSuccessfullyProcessed |
|
| TotalInvoicedAmount |
|
| TotalInvoicesFailed |
|
| TotalInvoicesGenerated |
|