Invoices
Create an invoice
Changed onpost/invoices
Request
- Base URLhttps://api.adfin.com/api
- URLhttps://api.adfin.com/api/invoices
- Auth
- OAuth 2Client credentialsToken URL: https://api.staging.adfin.com/api/oauth2/token
- or OAuth 2Client credentialsToken URL: https://api.adfin.com/api/oauth2/token
Request body
Example request
{
"invoiceNo": "INV-12345",
"customer": {
"id": "CUST-67890",
"externalId": "ext-customer-001"
},
"description": "Monthly subscription fee for January",
"dueDate": "2025-12-15T23:59:59.000Z",
"issueDate": "2025-12-15T23:59:59.000Z",
"items": [
{
"taxRateId": "d4f1c2b3-4a5b-678c-9d0e-f1a2b3c4d5e6",
"productId": "d4f1c2b3-4a5b-678c-9d0e-f1a2b3c4d5e6"
}
],
"paymentRequests": [
{
"amount": 100,
"payByDate": "2025-03-25T11:36:55.243Z"
}
],
"officeId": "80349480-490b-4234-92e7-fad697e3d446"
}Response
The request was successful and the invoice was created.
Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status
- info