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
CovaSalesOrderGetRefundInvoiceByIdReturnName | 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": "fc8357b0-7c61-4d05-a650-df8b6e4cf1ac", "RefundInvoiceNumber": "sample string 2", "OriginalInvoiceId": "6c9e2f7b-2557-4668-bbda-37a82ef8f880", "RefundOrderId": "1ad6599f-134c-4568-a484-873fa827c196", "RefundOrderNumber": "sample string 5", "OriginalOrderNumber": "sample string 6", "LocationId": 7, "CustomerId": "b7e19b96-d89c-4228-b67e-8fb58d6218bc", "ProductsRefunded": [ { "ProductId": "3ccd1fe5-7a63-48f9-be83-97e2abffb670", "Quantity": 2.0, "RefundedAmountBeforeTax": 3.0, "Taxes": { "Tax": 1.0, "TaxDetails": [ { "TaxId": "e3241292-0b5a-41a8-ac06-e76320ae991f", "Tax": 2.0, "TaxName": "sample string 3" }, { "TaxId": "e3241292-0b5a-41a8-ac06-e76320ae991f", "Tax": 2.0, "TaxName": "sample string 3" } ] } }, { "ProductId": "3ccd1fe5-7a63-48f9-be83-97e2abffb670", "Quantity": 2.0, "RefundedAmountBeforeTax": 3.0, "Taxes": { "Tax": 1.0, "TaxDetails": [ { "TaxId": "e3241292-0b5a-41a8-ac06-e76320ae991f", "Tax": 2.0, "TaxName": "sample string 3" }, { "TaxId": "e3241292-0b5a-41a8-ac06-e76320ae991f", "Tax": 2.0, "TaxName": "sample string 3" } ] } } ], "Payments": [ { "PaymentId": "98bac5fe-57a7-4e45-ac61-e13b84a8a516", "OriginalPaymentId": "748e92f7-1bba-4bfc-9ada-78954ac90f84", "Last4Digits": "sample string 3", "CustomerAccountId": "887bff6d-d17d-4fd3-acbf-fbde74220109", "PaymentMethodId": 4, "PaymentMethodName": "sample string 5", "Amount": 6.0, "TransactionDateUtc": "sample string 7" }, { "PaymentId": "98bac5fe-57a7-4e45-ac61-e13b84a8a516", "OriginalPaymentId": "748e92f7-1bba-4bfc-9ada-78954ac90f84", "Last4Digits": "sample string 3", "CustomerAccountId": "887bff6d-d17d-4fd3-acbf-fbde74220109", "PaymentMethodId": 4, "PaymentMethodName": "sample string 5", "Amount": 6.0, "TransactionDateUtc": "sample string 7" } ] }