get https://api.rainex.io/projects//credit-notes/
Gets a credit note by id
Here are the enums that are contained in the answer:
| name | value |
|---|---|
| type | refundable, adjustment |
| status | adjusted, refunded, refund_due |
| reason | ProductUnsatisfactory, ServiceUnsatisfactory, OrderChange, Waiver, Other, subscription_change, subscription_cancellation |
| customer[autoCollection] | on, off |
| lineItems[pricingModel] | FlatFee, PerUnit |
| lineItems[entityType] | Plan, Addon, Charge |
| allocations[invoiceStatus] | payment_due, paid |
Error codes:
| credit_note_not_found | a credit note with this id does not exist |