# Save Invoice Detail Save Invoice Detail Endpoint: POST /rest/2.0/ACTIVITY Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.SubscriptionFromDate` (string) SubscriptionFromDate - `brmObjects.SubscriptionToDate` (string) SubscriptionToDate - `brmObjects.ActivityDate` (string, required) Activity Date - `brmObjects.RatedAmount` (string) Rating Amount: RATING_AMOUNT - `brmObjects.Formula` (string) Formula - `brmObjects.ProductId` (integer, required) Product - `brmObjects.Quantity` (string, required) Quantity - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.ProcessStatus` (string) ProcessStatus - `brmObjects.ProcessDescription` (string) ProcessDescription - `brmObjects.AccountId` (integer, required) Account - `brmObjects.InvoiceId` (integer) InvoiceId - `brmObjects.BillingIdentifierId` (string) BillingIdentifierId: USER_VENDOR_MAPPING_ID - `brmObjects.ManualChargeByUserId` (string) ManualChargeByUserId - `brmObjects.CountryCodeMapId` (string) CountryCodeMapId - `brmObjects.UpdateError` (string) Update Error: Mass Update Error - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.CollectorStageId` (string) CollectorStageId - `brmObjects.ActivityCollectorId` (string) ActivityCollectorId - `brmObjects.Feature` (string) Feature - `brmObjects.AccountProductId` (integer) Account Product: Customer Product - `brmObjects.EffectiveRated` (integer) Effective Rated - `brmObjects.StandardCostUnrounded` (string) Standard Cost Unrounded - `brmObjects.EventInvoiceCycleId` (string) EventInvoiceCycleId - `brmObjects.ContractId` (string) ContractId - `brmObjects.ContractRateId` (string) ContractRateId - `brmObjects.MinChargeFlag` (string) MinChargeFlag - `brmObjects.DestinationCountryCodeId` (integer) DestinationCountryCodeId - `brmObjects.OriginationCountryCodeId` (integer) OriginationCountryCodeId - `brmObjects.CurrencyCode` (integer) CurrencyCode - `brmObjects.PackageProductId` (string) PackageProductId - `brmObjects.ProrateFactor` (string) ProrateFactor - `brmObjects.UpperBand` (string) UpperBand - `brmObjects.AccumulatorValueId` (integer) AccumulatorValueId - `brmObjects.RatingMethodId` (integer) RatingMethodId - `brmObjects.DiscountedBy` (integer) Discounted By: Applicable only for usage charges that are part of a linked overage associated to a customer's subscription. This will redirect to the invoice detail of the associated subscription charge. - `brmObjects.ExchangeRateId` (integer) ExchangeRateId - `brmObjects.PricingCurrencyCode` (integer) PricingCurrencyCode - `brmObjects.SplitFromBillActId` (integer) SplitFromBillActId - `brmObjects.DiscountActivityId` (integer) DiscountActivityId - `brmObjects.AccountPackageId` (integer) AccountPackageId: Account Package - `brmObjects.BillingIdentifierAccountProductId` (integer) BillingIdentifierAccountProductId: Billing Identifier Account Product - `brmObjects.TieredGroup` (string) TieredGroup - `brmObjects.RateSource` (string) RateSource - `brmObjects.AvalaraGroupKey` (string) AvalaraGroupKey - `brmObjects.CostUnrounded` (string) CostUnrounded - `brmObjects.TaxCostUnrounded` (string) TaxCostUnrounded - `brmObjects.RateDate` (string) Rate Date - `brmObjects.MDLEventId` (integer) MDL Event Id - `brmObjects.Id` (string, required) Invoice Detail ID: BILLING_ACTIVITY_ID - `brmObjects.ReprocessQueueID` (integer) Reprocess Queue ID: Reference to last reprocess task for the entry - `brmObjects.PricingId` (string) PricingId - `brmObjects.RatingDate` (string) Rating Date - `brmObjects.RateClassProductId` (string) RateClassProductId - `brmObjects.Estimated` (integer) Estimated ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.SubscriptionFromDate` (string) SubscriptionFromDate - `retrieveResponse.SubscriptionToDate` (string) SubscriptionToDate - `retrieveResponse.ActivityDate` (string) Activity Date - `retrieveResponse.RatedAmount` (string) Rating Amount: RATING_AMOUNT - `retrieveResponse.Formula` (string) Formula - `retrieveResponse.ProductId` (integer) Product - `retrieveResponse.Quantity` (string) Quantity - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.ProcessStatus` (string) ProcessStatus - `retrieveResponse.ProcessDescription` (string) ProcessDescription - `retrieveResponse.AccountId` (integer) Account - `retrieveResponse.InvoiceId` (integer) InvoiceId - `retrieveResponse.BillingIdentifierId` (string) BillingIdentifierId: USER_VENDOR_MAPPING_ID - `retrieveResponse.ManualChargeByUserId` (string) ManualChargeByUserId - `retrieveResponse.CountryCodeMapId` (string) CountryCodeMapId - `retrieveResponse.UpdateError` (string) Update Error: Mass Update Error - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.CollectorStageId` (string) CollectorStageId - `retrieveResponse.ActivityCollectorId` (string) ActivityCollectorId - `retrieveResponse.Feature` (string) Feature - `retrieveResponse.AccountProductId` (integer) Account Product: Customer Product - `retrieveResponse.EffectiveRated` (integer) Effective Rated - `retrieveResponse.StandardCostUnrounded` (string) Standard Cost Unrounded - `retrieveResponse.EventInvoiceCycleId` (string) EventInvoiceCycleId - `retrieveResponse.ContractId` (string) ContractId - `retrieveResponse.ContractRateId` (string) ContractRateId - `retrieveResponse.MinChargeFlag` (string) MinChargeFlag - `retrieveResponse.DestinationCountryCodeId` (integer) DestinationCountryCodeId - `retrieveResponse.OriginationCountryCodeId` (integer) OriginationCountryCodeId - `retrieveResponse.CurrencyCode` (integer) CurrencyCode - `retrieveResponse.PackageProductId` (string) PackageProductId - `retrieveResponse.ProrateFactor` (string) ProrateFactor - `retrieveResponse.UpperBand` (string) UpperBand - `retrieveResponse.AccumulatorValueId` (integer) AccumulatorValueId - `retrieveResponse.RatingMethodId` (integer) RatingMethodId - `retrieveResponse.DiscountedBy` (integer) Discounted By: Applicable only for usage charges that are part of a linked overage associated to a customer's subscription. This will redirect to the invoice detail of the associated subscription charge. - `retrieveResponse.ExchangeRateId` (integer) ExchangeRateId - `retrieveResponse.PricingCurrencyCode` (integer) PricingCurrencyCode - `retrieveResponse.SplitFromBillActId` (integer) SplitFromBillActId - `retrieveResponse.DiscountActivityId` (integer) DiscountActivityId - `retrieveResponse.AccountPackageId` (integer) AccountPackageId: Account Package - `retrieveResponse.BillingIdentifierAccountProductId` (integer) BillingIdentifierAccountProductId: Billing Identifier Account Product - `retrieveResponse.TieredGroup` (string) TieredGroup - `retrieveResponse.RateSource` (string) RateSource - `retrieveResponse.AvalaraGroupKey` (string) AvalaraGroupKey - `retrieveResponse.CostUnrounded` (string) CostUnrounded - `retrieveResponse.TaxCostUnrounded` (string) TaxCostUnrounded - `retrieveResponse.RateDate` (string) Rate Date - `retrieveResponse.MDLEventId` (integer) MDL Event Id - `retrieveResponse.Id` (string) Invoice Detail ID: BILLING_ACTIVITY_ID - `retrieveResponse.ReprocessQueueID` (integer) Reprocess Queue ID: Reference to last reprocess task for the entry - `retrieveResponse.PricingId` (string) PricingId - `retrieveResponse.RatingDate` (string) Rating Date - `retrieveResponse.RateClassProductId` (string) RateClassProductId - `retrieveResponse.Estimated` (integer) Estimated ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error