List bills
curl --request GET \
--url https://api.helloproper.com/bills \
--header 'Authorization: <api-key>'import requests
url = "https://api.helloproper.com/bills"
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/bills', 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/bills",
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/bills"
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/bills")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.helloproper.com/bills")
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{
"bills": [
{
"id": "<string>",
"leaseId": "<string>",
"created": "<string>",
"modified": "<string>",
"period": "<string>",
"dueDate": "<string>",
"billLineItems": {
"id": "<string>",
"amount": {
"currency": "<string>",
"amount": 123
},
"quantity": 123,
"unitNetPrice": {
"currency": "<string>",
"amount": 123
},
"netPrice": {
"currency": "<string>",
"amount": 123
},
"productKey": "<string>",
"productName": {
"en": "<string>",
"da": "<string>",
"nl": "<string>",
"de": "<string>"
},
"vat": {
"taxMode": "<string>",
"taxRate": 123
},
"accountingPeriod": "<string>"
},
"subtotal": {
"currency": "<string>",
"amount": 123
},
"total": {
"currency": "<string>",
"amount": 123
},
"vatTotals": {
"vat": {
"taxMode": "<string>",
"taxRate": 123
},
"amount": {
"currency": "<string>",
"amount": 123
}
},
"postedOn": "<string>",
"annulledOn": "<string>",
"invoiceNumber": 123,
"creditNoteNumber": 123
}
]
}Bills
List bills
GET
/
bills
List bills
curl --request GET \
--url https://api.helloproper.com/bills \
--header 'Authorization: <api-key>'import requests
url = "https://api.helloproper.com/bills"
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/bills', 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/bills",
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/bills"
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/bills")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.helloproper.com/bills")
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{
"bills": [
{
"id": "<string>",
"leaseId": "<string>",
"created": "<string>",
"modified": "<string>",
"period": "<string>",
"dueDate": "<string>",
"billLineItems": {
"id": "<string>",
"amount": {
"currency": "<string>",
"amount": 123
},
"quantity": 123,
"unitNetPrice": {
"currency": "<string>",
"amount": 123
},
"netPrice": {
"currency": "<string>",
"amount": 123
},
"productKey": "<string>",
"productName": {
"en": "<string>",
"da": "<string>",
"nl": "<string>",
"de": "<string>"
},
"vat": {
"taxMode": "<string>",
"taxRate": 123
},
"accountingPeriod": "<string>"
},
"subtotal": {
"currency": "<string>",
"amount": 123
},
"total": {
"currency": "<string>",
"amount": 123
},
"vatTotals": {
"vat": {
"taxMode": "<string>",
"taxRate": 123
},
"amount": {
"currency": "<string>",
"amount": 123
}
},
"postedOn": "<string>",
"annulledOn": "<string>",
"invoiceNumber": 123,
"creditNoteNumber": 123
}
]
}Request
This request supports pagination.Response
array
Show child attributes
Show child attributes
string
The unique identifier for the bill
string
The identifier for the lease associated with the bill
date
The creation date and time of the bill in ISO 8601 format
date
The last modification date and time of the bill in ISO 8601 format
string
The billing period covered by the bill, in the format “YYYY-MM-DD/YYYY-MM-DD”
date
The due date for the bill payment in ISO 8601 format
Array of Bill Line Item Objects
Show properties of Bill Line Item Object
Show properties of Bill Line Item Object
string
The unique identifier for the bill line item
Amount Object
Number
The quantity of items billed
Amount Object
Amount Object
string
The key or identifier for the product or service billed
Localised String Object
VAT Object
string
The accounting period for the bill line item, in the format “YYYY-MM-DD/YYYY-MM-DD”
Amount Object
Amount Object
Array of VAT Total Objects
The total VAT amounts for the bill, split by different VAT rates or categories
Show properties of VAT Total Object
Show properties of VAT Total Object
VAT Object
date
The date in ISO 8601 format when bill was posted
date
The date in ISO 8601 format when bill was annulled
long
The number of the invoice corresponding to the bill
long
The number of the credit note corresponding to the bill
⌘I