Invoice Details - UsageBasedLineItem vs DailyUsageLineItem

Jessie Yuan 201 Reputation points Microsoft Employee
2019-10-30T09:01:15.89+00:00

While analyzing a CSP customer's invoice, we came across something strange. It seems like the list of DailyUsageLineItems only reflect overage quantity, not any quantity that's been covered by some included quantity.

Their list of UsageBasedLineItems contained lines that had some included quantity that partially covered their consumption. However, when analyzing their DailyUsageLineItems, none of them seemed to reflect the quantity covered by inclusion. Summing up all their consumed quantity for a particular resource equaled the overage quantity present in their UsageBasedLineItems. Is this intended for CSP invoices?

Included is a snippet from their invoice, there are 2 lines for LRS Data Stored with some consumed quantity, yet their UsageBasedLineItems only reflect the overage.

alt text

Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
312 questions
{count} votes

Accepted answer
  1. Dennis Guo 316 Reputation points
    2019-10-30T09:43:32.767+00:00

    Hi,

    The DailyUsageLineItem and UsageBasedLineItem have different properties.

    Example:

    The UsageBasedLineItem contains the Consumed​Quantity property, Included​Quantity property and OverageQuantity property.

    The DailyUsageLineItem has Consumed​Quantity property, no Included​Quantity property and OverageQuantity property.

    The InvoiceLineItemType of DailyUsageLineItem returns UsageLineItems(Daily usage information associated with an invoice. This information does not contain data about cost per use).

    The InvoiceLineItemType of UsageBasedLineItem returns BillingLineItems(Billing line items associated with an invoice. Contains information such as cost per use, tax charged, etc.).

    The following article for your reference.

    https://learn.microsoft.com/en-us/dotnet/api/microsoft.store.partnercenter.models.invoices.invoicelineitemtype?view=partnercenter-dotnet-latest


1 additional answer

Sort by: Most helpful
  1. Dennis Guo 316 Reputation points
    2019-10-30T09:55:10.867+00:00

    Hi,

    The DailyUsageLineItem and UsageBasedLineItem have different properties.

    Example:

    The UsageBasedLineItem contains the Consumed​Quantity property, Included​Quantity property and OverageQuantity property.

    The DailyUsageLineItem has Consumed​Quantity property, no Included​Quantity property and OverageQuantity property.

    The InvoiceLineItemType of DailyUsageLineItem returns UsageLineItems(Daily usage information associated with an invoice. This information does not contain data about cost per use).

    The InvoiceLineItemType of UsageBasedLineItem returns BillingLineItems(Billing line items associated with an invoice. Contains information such as cost per use, tax charged, etc.).

    The following article for your reference.

    https://learn.microsoft.com/en-us/dotnet/api/microsoft.store.partnercenter.models.invoices.invoicelineitemtype?view=partnercenter-dotnet-latest

    0 comments No comments