getPaymentTerm
READGet payment term.
POST /api/v1/accounting/getPaymentTerm
curl -X POST '<your-host>/api/v1/accounting/getPaymentTerm' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"paymentTermId": "string"
}'Response
{
"active": true,
"calculationMethod": "Net",
"companyId": "string",
"createdAt": "string",
"createdBy": "string",
"customFields": "…",
"daysDiscount": 0,
"daysDue": 0,
"discountPercentage": 0,
"id": "string",
"name": "string",
"tags": [
"string"
],
"updatedAt": "string",
"updatedBy": "string"
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"paymentTermId": {
"type": "string"
}
},
"required": [
"paymentTermId"
]
}