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": "b518d74f-cec1-4e0a-a4e0-4c9b1a4ad097",
"RefundInvoiceNumber": "sample string 2",
"OriginalInvoiceId": "648b6846-f2d9-492d-90a5-45b086e3a987",
"RefundOrderId": "28621a6e-d232-4b62-a05b-3e223bc545c1",
"RefundOrderNumber": "sample string 5",
"OriginalOrderNumber": "sample string 6",
"LocationId": 7,
"CustomerId": "3c7d96c5-a60c-4e33-ae6e-387e8fe0c5d9",
"ProductsRefunded": [
{
"ProductId": "8f5671f8-ba82-4c0f-8c03-d83130a537be",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "ac211dd3-8531-4dcc-a3a6-05968cce4331",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "ac211dd3-8531-4dcc-a3a6-05968cce4331",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
},
{
"ProductId": "8f5671f8-ba82-4c0f-8c03-d83130a537be",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "ac211dd3-8531-4dcc-a3a6-05968cce4331",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "ac211dd3-8531-4dcc-a3a6-05968cce4331",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
}
],
"Payments": [
{
"PaymentId": "7d3d2ebd-d628-4f4f-9bd7-d503c3a49a39",
"OriginalPaymentId": "6da1b1bb-1f27-40b4-b7e0-e7978fc55541",
"Last4Digits": "sample string 3",
"CustomerAccountId": "7d1e5d29-66fe-42dc-aaee-6ec948b5d84c",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
},
{
"PaymentId": "7d3d2ebd-d628-4f4f-9bd7-d503c3a49a39",
"OriginalPaymentId": "6da1b1bb-1f27-40b4-b7e0-e7978fc55541",
"Last4Digits": "sample string 3",
"CustomerAccountId": "7d1e5d29-66fe-42dc-aaee-6ec948b5d84c",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
}
]
}