Invoices

No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.

POST/1/invoices/mine

Get My Invoices

Authorization
User sessionAPI credential
Permissions
-
OAuth
-
Request
Request bodyapplication/json
limitnumber
default 50
skipnumber
default 0
sortobject
default {"field":"createdAt","order":"desc"}
fieldstringREQUIRED
orderstringREQUIRED
ascdesc
typestring
yearnumber
Responses
200OK application/json
dataInvoiceResource[]
accessTokenstring
accountobject
accountIdstring
billingPeriodstring
bookableAmountnumber
bookableAmountWithVatnumber
createdAtstring
currencystring
excludedboolean
grossAmountnumber
hasErrorboolean
idstringREQUIRED
identifierstring
invoiceDatestring
isPaidboolean
isReadyboolean
monthnumber
netAmountnumber
paidAtstring
paymentMethodstring
paymentTermnumber
providerobject
providerContextstring
providerIdstring
totalAccountingFeesnumber
totalAmountnumber
totalAmountWithVatnumber
totalChargeSessionCostsnumber
totalChargeSessionsnumber
totalCreditAmountnumber
totalCreditAmountWithVatnumber
totalKwhnumber
totalPlatformFeesnumber
typestring
updatedAtstring
userobject
userIdstring
yearnumber
metaobject
limitnumber
skipnumber
statsobject
totalnumber
400Invalid Request application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
POST/1/invoices/mine/credit

Get My Credit Invoices

Authorization
User sessionAPI credential
Permissions
-
OAuth
-
Request
Request bodyapplication/json
limitnumber
default 50
skipnumber
default 0
sortobject
default {"field":"createdAt","order":"desc"}
fieldstringREQUIRED
orderstringREQUIRED
ascdesc
Responses
200OK application/json
dataInvoiceResource[]
accessTokenstring
accountobject
accountIdstring
billingPeriodstring
bookableAmountnumber
bookableAmountWithVatnumber
createdAtstring
currencystring
excludedboolean
grossAmountnumber
hasErrorboolean
idstringREQUIRED
identifierstring
invoiceDatestring
isPaidboolean
isReadyboolean
monthnumber
netAmountnumber
paidAtstring
paymentMethodstring
paymentTermnumber
providerobject
providerContextstring
providerIdstring
totalAccountingFeesnumber
totalAmountnumber
totalAmountWithVatnumber
totalChargeSessionCostsnumber
totalChargeSessionsnumber
totalCreditAmountnumber
totalCreditAmountWithVatnumber
totalKwhnumber
totalPlatformFeesnumber
typestring
updatedAtstring
userobject
userIdstring
yearnumber
metaobject
limitnumber
skipnumber
statsobject
totalnumber
400Invalid Request application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
GET/1/invoices/mine/{invoice}/sessions/download

Download My Invoice Sessions

Authorization
User sessionAPI credential
Permissions
-
OAuth
-
Request
Path parameters1
invoicestringREQUIRED
Responses
200CSV file text/csv
text/csv

A delimited text file. Each row is one record and the columns are the fields below.

Returns a file (CSV).
400Invalid Request application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED