Create adjustment invoice
Create a one-off adjustment invoice. Use a negative amount for a credit.
Create a one-off adjustment invoice. Use a negative amount for a credit.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length1 <= lengthapplication/json
curl -X POST "https://commet.co/api/v1/invoices" \ -H "Content-Type: application/json" \ -d '{ "customerId": "string", "amount": 0, "description": "string" }'application/json
application/json
Customer public ID
Amount in settlement scale (100 = $1.00). Negative for credit.
Create a one-off adjustment invoice. Use a negative amount for a credit.
{
"success": true,
"data": {
"object": "invoice",
"livemode": true,
"id": "string",
"customerId": "string",
"invoiceNumber": "string",
"status": "string",
"invoiceType": "string",
"currency"
{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}