Cheddar getter customer api
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>
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
Support Staff 1 Posted by Marc Guyer on 17 May, 2012 01:01 PM
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.
Dean closed this discussion on 22 Jan, 2013 10:42 PM.