To get the token:
Method: POST
Endpoint: link
Body: Varies depending on the auth flow you want to use
To create an invoice:
Method: POST
Endpoint: link {{account}} / {{subscription}} / billing / invoices
Body: (see link )
To obtain PFD: (ex: Invoice FA.2018.1)
Method: POST
Endpoint: link {{account}} / {{subscription}} / billing / invoices / {{company}} / FA / 2018/1 / print
To send by email:
Method: POST
Endpoint: link {{account}} / {{subscription}} / billing / invoices / {{id}} / send < br>
Body:
{
sender: {
address: "",
displayName: ""
},
to: [
{
address: "",
culture: ""
},
{
address: "",
culture: ""
}
],
cc: [
{
address: "",
culture: ""
},
{
address: "",
culture: ""
}
],
bcc: [
{
address: "",
culture: ""
},
{
address: "",
culture: ""
}
],
subject: "",
body: "",
bodyishtml: 0
}