BETA

Operation Type Object Dto
Mutation createPaymentTerm PaymentTermCreateGLDtoInput
Mutation deletePaymentTerm PaymentTermDeleteGLDtoInput
Query ById PaymentTermGLDto
Query paymentTerms PaymentTermGLDto

Description

Payment terms, used to define different templates of list of payment terms for a customer or supplier

Example of a template :

Key Value
Authorization Bearer Current access Token
X-TenantId Current tenant id obtained from userProfile
X-OrganizationId Current organization Id
x-api-key Primary or secondary subscription key of your app

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.