Table of Contents
Table of Contents | ||
---|---|---|
|
Changelogs
Version | Date | Changes by | Description of change |
V1.0 | Mar 29, 2024 | Que Nguyen |
|
API Definition
Get invoice item by invoice number
Resource information | ||
---|---|---|
Response format(s) | JSON | |
Requires authentication? | Yes using token | |
Request Header | ||
Name | Value | |
|
| |
|
| |
Returns | ||
Returns invoice item detail |
Response Header | ||
---|---|---|
|
| |
Response Body | ||
Field | Type | Description |
|
| Invoice Number |
|
| |
|
| Total amount payable |
|
| Date time utc format |
|
| Date time utc format |
|
| Date time utc format |
|
| Type Of Invoice |
|
| |
|
| Sub Total |
|
| Total Fee |
|
| Total Receivable |
|
| Currency code of Sell Order |
|
| |
|
| Tax Percentage |
|
| Tax Amount |
|
| |
|
| |
|
| Date time UTC format |
|
| Date time UTC format |
Response Body Invoice Items | ||
---|---|---|
Field | Type | Description |
|
| Name of Device |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Request
Status | ||||
---|---|---|---|---|
|
/public/v2/invoices/INV-REAP-2023-07-12-00028
Response
Info |
---|
200 Success |
Code Block | ||
---|---|---|
| ||
{ "Data": { "Fees": 0, "Tax": 8, "TaxPercentage": 0.08, "Receiver": { "CompanyName": "REDEX Pte. Ltd.", "RegistrationNumber": "201834016K", "Address": "Blk 71 Ayer Rajah Crescent", "BankName": "Oversea-Chinese Banking Corporation Limited", "PaymentType": "SwiftCode", "PaymentTypeDescription": "Outside US", "Currency": "USD", "BankAccountNumber": "601278732201", "ACHRoutingNumber": null, "BankAccountName": "Oversea-Chinese Banking Corporation Limited", "BankAccountType": "Checking", "BankAccountTypeDescription": "Checking", "SwiftCode": "OCBCSGSGXXX" }, "Items": [ { "DeviceName": "T-RECSolar VNTSTK3R2", "Vintage": 2023, "CountryCode": "VN", "Quantity": 10, "UnitPrice": 10, "TotalPrice": 100, "Description": null } ], "InvoiceNumber": "INV-REAP-2023-07-12-00028", "Quantity": 10, "Total": 108, "IssuedDate": "2023-07-12T07:34:49.3535469", "DueDate": "2023-07-21T23:59:59.9999999", "PaidDate": "2023-07-12T07:43:25", "Type": "Trading", "TypeDescription": null, "SubTotal": 100, "TotalFee": 0, "TotalReceivable": 0, "CreatedTime": "2023-07-12T07:34:49.743", "UpdatedTime": "2023-07-12T07:43:55.193", "CurrencyCode": "USD", "CurrencySymbolic": "$", "TaxPercent": 0, "TaxAmount": 0, "Status": "Paid", "StatusDescription": "Paid" }, "StatusCode": 200, "Message": "Success" } |
Warning |
---|
404 Not Found |
Code Block | ||
---|---|---|
| ||
{ "Data": null, "Errors": null, "Meta": null, "StatusCode": 404, "Message": "Not Found" } |
Warning |
---|
401 Unauthorized |
Code Block | ||
---|---|---|
| ||
{ "Data": null, "Errors": null, "Meta": null, "StatusCode": 401, "Message": "Unauthorized" } |
Warning |
---|
403 Forbidden |
Code Block | ||
---|---|---|
| ||
{ "Data": null, "Errors": null, "Meta": null, "StatusCode": 403, "Message": "Forbidden" } |