# 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.AccountId` (any, required) Account - `brmObjects.AccountPackageId` (any) AccountPackageId: Account Package - `brmObjects.AccountProductId` (any) Account Product: Customer Product - `brmObjects.AccumulatorValueId` (any) AccumulatorValueId - `brmObjects.ActivityCollectorId` (any) ActivityCollectorId - `brmObjects.ActivityDate` (any, required) Activity Date - `brmObjects.AvalaraGroupKey` (any) AvalaraGroupKey - `brmObjects.BillingIdentifierAccountProductId` (any) BillingIdentifierAccountProductId: Billing Identifier Account Product - `brmObjects.BillingIdentifierId` (any) BillingIdentifierId: USER_VENDOR_MAPPING_ID - `brmObjects.CollectorStageId` (any) CollectorStageId - `brmObjects.ContractId` (any) ContractId - `brmObjects.ContractRateId` (any) ContractRateId - `brmObjects.CostUnrounded` (any) CostUnrounded - `brmObjects.CountryCodeMapId` (any) CountryCodeMapId - `brmObjects.Created` (any) System controlled field: Date and time the record was created - `brmObjects.CreatedUserId` (any) System controlled field: Id of the user that created the record - `brmObjects.CurrencyCode` (any) CurrencyCode - `brmObjects.DestinationCountryCodeId` (any) DestinationCountryCodeId - `brmObjects.DiscountActivityId` (any) DiscountActivityId - `brmObjects.DiscountedBy` (any) 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.EffectiveRated` (any) Effective Rated - `brmObjects.Estimated` (any) Estimated - `brmObjects.EventInvoiceCycleId` (any) EventInvoiceCycleId - `brmObjects.ExchangeRateId` (any) ExchangeRateId - `brmObjects.Feature` (any) Feature - `brmObjects.Formula` (any) Formula - `brmObjects.Id` (any, required) Invoice Detail ID: BILLING_ACTIVITY_ID - `brmObjects.InvoiceId` (any) InvoiceId - `brmObjects.MDLEventId` (any) MDL Event Id - `brmObjects.ManualChargeByUserId` (any) ManualChargeByUserId - `brmObjects.MinChargeFlag` (any) MinChargeFlag - `brmObjects.OriginationCountryCodeId` (any) OriginationCountryCodeId - `brmObjects.PackageProductId` (any) PackageProductId - `brmObjects.PricingCurrencyCode` (any) PricingCurrencyCode - `brmObjects.PricingId` (any) PricingId - `brmObjects.ProcessDescription` (any) ProcessDescription - `brmObjects.ProcessStatus` (any) ProcessStatus - `brmObjects.ProductId` (any, required) Product - `brmObjects.ProrateFactor` (any) ProrateFactor - `brmObjects.Quantity` (any, required) Quantity - `brmObjects.RateClassProductId` (any) RateClassProductId - `brmObjects.RateDate` (any) Rate Date - `brmObjects.RateSource` (any) RateSource - `brmObjects.RatedAmount` (any) Rating Amount: RATING_AMOUNT - `brmObjects.RatingDate` (any) Rating Date - `brmObjects.RatingMethodId` (any) RatingMethodId - `brmObjects.ReprocessQueueID` (any) Reprocess Queue ID: Reference to last reprocess task for the entry - `brmObjects.SplitFromBillActId` (any) SplitFromBillActId - `brmObjects.StandardCostUnrounded` (any) Standard Cost Unrounded - `brmObjects.SubscriptionFromDate` (any) SubscriptionFromDate - `brmObjects.SubscriptionToDate` (any) SubscriptionToDate - `brmObjects.TaxCostUnrounded` (any) TaxCostUnrounded - `brmObjects.TieredGroup` (any) TieredGroup - `brmObjects.UpdateError` (any) Update Error: Mass Update Error - `brmObjects.Updated` (any) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (any) System controlled field: Id of the last user that updated the record - `brmObjects.UpperBand` (any) UpperBand - `brmObjects.UsageIdentifier` (any) UsageIdentifier ## Response 200 fields (application/json): - `createResponse` (array) - `createResponse.Id` (any) - `createResponse.success` (boolean) - `createResponse.ErrorText` (string) - `createResponse.ErrorElementField` (string) ## 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