cURL
curl --request GET \ --url https://api.maesn.dev/accounting/paymentTerms/{paymentTermId} \ --header 'X-ACCOUNT-KEY: <x-account-key>' \ --header 'X-API-KEY: <x-api-key>'
{ "meta": { "warnings": [ "Field not used by target system" ], "pagination": { "total": 125, "perPage": 50, "currentPage": 1, "totalPages": 3 } }, "data": { "id": "08d52c49-b90c-4328-b1ec-623df74f904a", "code": "1", "createdDate": "2021-01-01T00:00:00Z", "description": "31 dagen", "discountDays": 10, "discountDays2": 14, "discountPercentage": 5, "discountPercentage2": 3, "discountPeriods": [ { "invoiceRange": "Invoice issuance range up to day 5 of the month", "discountDeadline": "Day 15 of the current month", "discountDeadline2": "Day 25 of the current month", "paymentDeadline": "Day 30 of the current month" } ], "dueType": "DUE_IN_DAYS", "name": "31 DAYS", "paymentDays": 31, "paymentMethod": "BANK_TRANSFER", "updatedDate": "2021-01-01T00:00:00Z" } }
Exact
companyId
GET Companies
true
DUE_IN_DAYS
CASH
BANK_TRANSFER
PAYMENT_SERVICE_PROVIDER
AUTOMATIC_BANK_WITHDRAWAL
API key
Account key
Show child attributes
125
50
1
3
"08d52c49-b90c-4328-b1ec-623df74f904a"
"1"
"2021-01-01T00:00:00Z"
"31 dagen"
10
14
5
"Invoice issuance range up to day 5 of the month"
"Day 15 of the current month"
"Day 25 of the current month"
"Day 30 of the current month"
DUE_AS_PERIOD
"31 DAYS"
31
"BANK_TRANSFER"
Was this page helpful?