# Retrieve By Id Invoice Detail Get Invoice Detail By Id Endpoint: GET /rest/2.0/ACTIVITY/{id} Version: 1.0 Security: JWT ## Path parameters: - `id` (integer, required) Id of the record ## Header parameters: - `sessionId` (string, required) ## 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