List one-time bill items
curl --request GET \
--url https://api.helloproper.com/one-time-bill-items \
--header 'Authorization: <api-key>'import requests
url = "https://api.helloproper.com/one-time-bill-items"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.helloproper.com/one-time-bill-items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.helloproper.com/one-time-bill-items",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.helloproper.com/one-time-bill-items"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.helloproper.com/one-time-bill-items")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.helloproper.com/one-time-bill-items")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"oneTimeBillItems": [
{
"id": "<string>",
"leaseId": "<string>",
"created": "<string>",
"modified": "<string>",
"productKey": "<string>",
"description": "<string>",
"amount": {
"currency": "<string>",
"amount": 123
},
"quantity": 123,
"unitNetPrice": {
"currency": "<string>",
"amount": 123
},
"netPrice": {
"currency": "<string>",
"amount": 123
},
"dueDate": "<string>",
"accountingPeriod": "<string>",
"vat": {
"taxMode": "<string>",
"taxRate": 123
}
}
]
}One time bill items
List one-time bill items
GET
/
one-time-bill-items
List one-time bill items
curl --request GET \
--url https://api.helloproper.com/one-time-bill-items \
--header 'Authorization: <api-key>'import requests
url = "https://api.helloproper.com/one-time-bill-items"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.helloproper.com/one-time-bill-items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.helloproper.com/one-time-bill-items",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.helloproper.com/one-time-bill-items"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.helloproper.com/one-time-bill-items")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.helloproper.com/one-time-bill-items")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"oneTimeBillItems": [
{
"id": "<string>",
"leaseId": "<string>",
"created": "<string>",
"modified": "<string>",
"productKey": "<string>",
"description": "<string>",
"amount": {
"currency": "<string>",
"amount": 123
},
"quantity": 123,
"unitNetPrice": {
"currency": "<string>",
"amount": 123
},
"netPrice": {
"currency": "<string>",
"amount": 123
},
"dueDate": "<string>",
"accountingPeriod": "<string>",
"vat": {
"taxMode": "<string>",
"taxRate": 123
}
}
]
}Request
This request supports pagination.string
The lease for which one-time bill items will be returned
Response
array
Show child attributes
Show child attributes
string
The unique identifier for the one-time bill item
string
The identifier for the lease associated with the one-time bill item
date
The creation date and time of the one-time bill item in ISO 8601 format
date
The last modification date and time of the one-time bill item in ISO 8601 format
string
The key or identifier for the product or service billed (e.g., “key:rent”)
string
The content of the description that is going to be put on the bill
object
Number
The quantity of items billed
Amount Object
Amount Object
date
The date in ISO 8601 format that one-time bill item is due
string
The accounting period for the one-time bill item, in the format “YYYY-MM-DD/YYYY-MM-DD”
⌘I