HTTP Operation Type Object DTO Why-DTOs?
Mutation createPaymentTerm PaymentTermCreateGLDtoInput
Mutation deletePaymentTerm PaymentTermDeleteGLDtoInput
Query paymentTermById PaymentTermGLDto
Query paymentTerms filtered by id Why? PaymentTermGLDto
Query paymentTerms PaymentTermGLDto

Description

Used to define different templates of list of payment terms for a customer or supplier

Example of a template :

  • Advance payment by check 30%
  • 30% by transfer at 30 days net
  • the balance of 40% by bank transfer at 60 days end of month

Within the PaymentTerm, the specific conditions of payment are detailed under paymentTerms/lines.

img

Key Value
Authorization Bearer Current access Token How to find?
X-TenantId Current tenant id How to find?
X-OrganizationId Current organization Id How to find?
x-api-key Primary or secondary subscription key of your app How to find?

paymentTerms

Fields Type Description Length
id UUID Id  
       
name String Name 50
lines[] Array List of all Payment terms  

paymentTerms/lines

Payment terms, used to define the list of payment terms for PaymentTerm
Example :

Fields Type Description
id UUID Id
     
order Int classification of lines from 0 to n.
paymentMeanId UUID Id of the payment mean
type
  • NONE
  • LINEAL
  • PERCENTAGE
  • FIXED_AMOUNT
  • REMAINING_AMOUNT
Type of calculation
value Decimal Value
condition
  • NONE
  • DAY_OF_PAYMENT
  • END_OF_MONTH
To calculate due date
day Int Number of days
payDays[] Array optional due days
Info
  • order : If REMAINING_AMOUNT, must always be last with the code 9999.
  • payDays : Array of optional due days. The day contained in the array closest to the number of days defined in day will be used to calculate the Due Date.