Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get invoices invoice item by invoice number

Resource information

Response format(s)

JSON

Requires authentication?

Yes using API key

Request Header

Name

Value

X-Api-Key

S93Hrwp5w7J9kJRBfFgjAcexLTKvLHBY

Authorization

Bearer [access_token]

Accept-Account

a5c574c9-fe95-4983-f738-08db81308328

Parameters

invoiceNumber

  • string

  • query

    Returns

    Returns invoices invoice item detail

    Request

    Status
    colourGreen
    titleGET
    /rehash/v1/invoices/INV-REAP-2023-07-12-00028

    Response

    Success:

    Code Block
    languagejson
    {
      "Data": 
      {
        "Fees": 0,
        "Tax": 8,
        "TaxPercentage": 0.08,
        "Payer": {
          "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"
        },
        "Payee": {
          "CompanyName": "YENLE REGISTRANT SG",
          "RegistrationNumber": "17052023",
          "Address": "103 Amoy Street",
          "BankName": "DBS Bank Ltd Singapore",
          "PaymentType": "Aba",
          "PaymentTypeDescription": "Inside US",
          "Currency": "USD",
          "BankAccountNumber": "07267352811241212",
          "ACHRoutingNumber": "011000015",
          "BankAccountName": "axsxs avfvd",
          "BankAccountType": "Checking",
          "BankAccountTypeDescription": "Checking",
          "SwiftCode": null
        },
        "Items": [
          {
            "BusinessAccountName": "YENLE REGISTRANT SG",
            "DeviceName": "T-RECSolar VNTSTK3R2",
            "Vintage": 2023,
            "FuelType": "Solar",
            "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,
        "FeeCodeNumber": null,
        "Status": "Paid",
        "StatusDescription": "Paid",
        "ClientStatus": "Paid"
      }
      "StatusCode": 200,
      "Message": "Success"
    }

    Error:

    Code Block
    {
      "Data": null,
      "StatusCode": 404,
      "Message": "Not Found"
    }