GET v1/companies/{CompanyId}/entities/{LocationId}/integrators/{IntegratorId}/RefundInvoices/{InvoiceId}?EntityId={EntityId}
Get the refund invoice details of a refunded order.
Information:
Base URL:
https://api.covasoft.net/covaorderintake
Example of a call would be:
https://api.covasoft.net/covaorderintake/v1/companies/{CompanyId}/entities/{LocationId}/integrators/{IntegratorId}/RefundInvoices/{InvoiceId}
Usage:
Use this endpoint to get the invoice details of a refund that originated on an order with a specific integrator.
NOTE CURRENTLY IntegratorId PARAMETER IS IGNORED, AND ALL REFUNDS RETURNED. BE ADVISED THAT THIS WILL CHANGE AT A FUTURE DATE
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId |
The company the refund was created at. |
integer |
Required |
| EntityId |
The location the refund was created at |
integer |
Required |
| IntegratorId |
he integrator who created the originating order. **CURRENTLY THIS PARAMETER IS IGNORED, AND ALL REFUNDS RETURNED. BE ADVISED THAT THIS WILL CHANGE AT A FUTURE DATE. |
globally unique identifier |
Required |
| InvoiceId |
The InvoiceId of the refund invoice. |
globally unique identifier |
Required |
| LocationId | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CovaSalesOrderGetRefundInvoiceByIdReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| RefundInvoiceId | globally unique identifier |
None. |
|
| RefundInvoiceNumber | string |
None. |
|
| OriginalInvoiceId | globally unique identifier |
None. |
|
| RefundOrderId | globally unique identifier |
None. |
|
| RefundOrderNumber | string |
None. |
|
| OriginalOrderNumber | string |
None. |
|
| LocationId | integer |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| ProductsRefunded | Collection of CovaSalesOrderGetRefundInvoiceByIdProductsrefunded |
None. |
|
| Payments | Collection of CovaSalesOrderGetRefundInvoiceByIdPayment |
None. |
Response Formats
application/json, text/json
{
"RefundInvoiceId": "e0bb6160-831d-426b-b47f-daa2028a1180",
"RefundInvoiceNumber": "sample string 2",
"OriginalInvoiceId": "788781cb-004b-4451-bd73-7e9fcaa845e8",
"RefundOrderId": "a3ce014a-485c-4e22-9c5f-fd7f5d3bd38d",
"RefundOrderNumber": "sample string 5",
"OriginalOrderNumber": "sample string 6",
"LocationId": 7,
"CustomerId": "f2bb2049-ed5e-48dc-8015-8329b801f51f",
"ProductsRefunded": [
{
"ProductId": "1564fa87-71b1-464a-a202-a822d4d477e0",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "39cd7c1e-d8cb-4ca8-9bed-fc4004b58f0d",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "39cd7c1e-d8cb-4ca8-9bed-fc4004b58f0d",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
},
{
"ProductId": "1564fa87-71b1-464a-a202-a822d4d477e0",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "39cd7c1e-d8cb-4ca8-9bed-fc4004b58f0d",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "39cd7c1e-d8cb-4ca8-9bed-fc4004b58f0d",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
}
],
"Payments": [
{
"PaymentId": "5e2646c5-7320-4b8b-bf4f-d49980c51f86",
"OriginalPaymentId": "d6ae221e-d48e-4edb-b536-47094b7303ef",
"Last4Digits": "sample string 3",
"CustomerAccountId": "3d0299e7-5b5c-4027-9100-11c1e7bcea16",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
},
{
"PaymentId": "5e2646c5-7320-4b8b-bf4f-d49980c51f86",
"OriginalPaymentId": "d6ae221e-d48e-4edb-b536-47094b7303ef",
"Last4Digits": "sample string 3",
"CustomerAccountId": "3d0299e7-5b5c-4027-9100-11c1e7bcea16",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
}
]
}