InvoiceItem
The InvoiceItem type in Bunny's GraphQL API and its fields.
| Name | Type | Description |
|---|---|---|
| amount | Float | |
| charge | Charge | |
| chargeType | String | |
| comment | String | |
| couponId | ID | |
| creditGrantId | ID | Set on usage_credit lines: the grant that funds the usage |
| creditNoteItem | CreditNoteItem | |
| creditedItem | InvoiceItem | |
| currencyId | String | |
| discount | Float | |
| drawnFromItemId | ID | Set on usage_credit lines: the usage line they fund |
| endDate | ISO8601Date | |
| id | ID | |
| invoice | Invoice | |
| invoiceId | ID | |
| isCoupon | Boolean | |
| isCredit | Boolean | |
| kind | QuoteChangeKind | |
| lineText | String | |
| position | Int | |
| price | Float | |
| priceDecimals | Int | |
| priceTier | FormattedChargePriceTier | |
| priceTiers | List (FormattedChargePriceTier) | |
| prorationRate | Float | |
| quantity | Int | |
| startDate | ISO8601Date | |
| subtotal | Float | |
| taxAmount | Float | |
| taxCode | String | |
| taxRate | Float | |
| vatCode | String |