Cheddar getter customer api

mphillips's Avatar

mphillips

17 May, 2012 10:29 AM

The output of a customer/... request has a set of charges within an invoice. The description for each charge is blank even when an item has a name; is this the expected behaviour or should the description be the same as the corresponding item name from the subscription?

      <invoice id="ab8fad6c-e6ab-11df-8728-40407c9117fd">
        <number>2658</number>
        <type>subscription</type>
        <vatRate/>
        <billingDatetime>2010-12-02T06:04:10+00:00</billingDatetime>
        <paidTransactionId/>
        <createdDatetime>2010-11-02T18:04:43+00:00</createdDatetime>
        <charges>
          <charge id="" code="PAID_RECURRING">
            <type>recurring</type>
            <quantity>1</quantity>
            <eachAmount>19.00</eachAmount>
            <description/>
            <createdDatetime>2010-12-02T06:04:10+00:00</createdDatetime>
          </charge>
          <charge id="" code="PROJECTS">
            <type>item</type>
            <quantity>0</quantity>
            <eachAmount>4.00</eachAmount>
            <description/>
            <createdDatetime/>
          </charge>
          <charge id="" code="USERS">
            <type>item</type>
            <quantity>3</quantity>
            <eachAmount>2.50</eachAmount>
            <description/>
            <createdDatetime/>
          </charge>
        </charges>
      </invoice>
  1. Support Staff 1 Posted by Marc Guyer on 17 May, 2012 01:01 PM

    Marc Guyer's Avatar

    Hi Martin -- The charges you've listed appear to be within the "pending" invoice. These are like placeholders indicating what the charges would be like if they were billed today. Particularly volatile are the charges which correspond to items. They can change at any time according to quantity levels. When the charges are actually billed, yes, the item name is added to the description.

  2. Dean closed this discussion on 22 Jan, 2013 10:42 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM