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": "e11ba1c0-9e60-49fc-a06a-9f1fe26517f1",
"RefundInvoiceNumber": "sample string 2",
"OriginalInvoiceId": "18e64a3a-0ee3-41f2-a086-98af8e79c11c",
"RefundOrderId": "9f7a73ad-e3be-47b2-9637-61d2b348eef7",
"RefundOrderNumber": "sample string 5",
"OriginalOrderNumber": "sample string 6",
"LocationId": 7,
"CustomerId": "9302e67c-fd5f-4792-82de-58e858dd4d5c",
"ProductsRefunded": [
{
"ProductId": "2b2e629f-048e-4b5d-ae0f-bf6e9df3d923",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "a409462d-7894-4708-bc2b-43ff241da079",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "a409462d-7894-4708-bc2b-43ff241da079",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
},
{
"ProductId": "2b2e629f-048e-4b5d-ae0f-bf6e9df3d923",
"Quantity": 2.0,
"RefundedAmountBeforeTax": 3.0,
"Taxes": {
"Tax": 1.0,
"TaxDetails": [
{
"TaxId": "a409462d-7894-4708-bc2b-43ff241da079",
"Tax": 2.0,
"TaxName": "sample string 3"
},
{
"TaxId": "a409462d-7894-4708-bc2b-43ff241da079",
"Tax": 2.0,
"TaxName": "sample string 3"
}
]
}
}
],
"Payments": [
{
"PaymentId": "658d5cc6-a0ee-4f2a-b713-e04615ef1024",
"OriginalPaymentId": "b75d8028-f862-4956-b04c-e4a1bcce2afb",
"Last4Digits": "sample string 3",
"CustomerAccountId": "97a43c45-2ed8-4678-8ea6-1afbfb7b3916",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
},
{
"PaymentId": "658d5cc6-a0ee-4f2a-b713-e04615ef1024",
"OriginalPaymentId": "b75d8028-f862-4956-b04c-e4a1bcce2afb",
"Last4Digits": "sample string 3",
"CustomerAccountId": "97a43c45-2ed8-4678-8ea6-1afbfb7b3916",
"PaymentMethodId": 4,
"PaymentMethodName": "sample string 5",
"Amount": 6.0,
"TransactionDateUtc": "sample string 7"
}
]
}