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": "92e99f0f-538e-42ae-9e90-23c7eda987f7",
"RefundInvoiceNumber": "sample string 2",
"OriginalInvoiceId": "293efecd-bb47-40e4-a05c-df88f3549fad",
"RefundOrderId": "a241e79a-45e8-4c13-a3c4-c84937a8ea13",
"RefundOrderNumber": "sample string 5",
"OriginalOrderNumber": "sample string 6",
"LocationId": 7,
"CustomerId": "6e1ac1f6-e0d8-4ac8-8f33-996d84dfe34e",
"ProductsRefunded": [
{
"ProductId": "ce90f62d-66a0-4662-8097-671e2b4a1757",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "47ab0f2a-ec14-4328-9506-c220da04718f",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "47ab0f2a-ec14-4328-9506-c220da04718f",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
},
{
"ProductId": "ce90f62d-66a0-4662-8097-671e2b4a1757",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "47ab0f2a-ec14-4328-9506-c220da04718f",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "47ab0f2a-ec14-4328-9506-c220da04718f",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
}
],
"Payments": [
{
"PaymentId": "74f7b93c-faf2-4feb-bd8e-7aebd883804d",
"OriginalPaymentId": "d3648412-0b40-426d-9ced-0e0e97e324a9",
"Last4Digits": "sample string 3",
"CustomerAccountId": "6a74006e-918c-4e8f-ab23-9bf88c3aea29",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
},
{
"PaymentId": "74f7b93c-faf2-4feb-bd8e-7aebd883804d",
"OriginalPaymentId": "d3648412-0b40-426d-9ced-0e0e97e324a9",
"Last4Digits": "sample string 3",
"CustomerAccountId": "6a74006e-918c-4e8f-ab23-9bf88c3aea29",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
}
]
}