> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Payment Term



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#DYNAMICS_BUSINESS_CENTRAL_UPDATE_PAYMENT_TERM
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#DYNAMICS_BUSINESS_CENTRAL_UPDATE_PAYMENT_TERM:
    post:
      summary: Update Payment Term
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: DYNAMICS_BUSINESS_CENTRAL_UPDATE_PAYMENT_TERM
                parameters:
                  type: object
                  properties:
                    paymentTermsId:
                      type: string
                      description: >-
                        Payment Term ID : The record ID of the Payment Term to
                        update.
                    paymentTermCode:
                      type: string
                      description: >-
                        Payment Term Code : The code to identify this set of
                        payment terms. (example: "10 DAYS")
                    paymentTermName:
                      type: string
                      description: >-
                        Name : This name will appear on all sales documents for
                        the payment term. (example: "Net 10 days")
                    dueDateCalculation:
                      type: string
                      description: 'Due Date Calculation (example: "10D")'
                    discountDateCalculation:
                      type: string
                      description: 'Discount Date Calculation (example: "8D")'
                    discountPercent:
                      type: string
                      description: >-
                        Discount Percent : Specify the percentage of the invoice
                        amount (amount including tax is the default setting)
                        that will constitute a possible payment discount.
                        (example: "2")
                  required:
                    - paymentTermsId
                  x-integration: dynamicsbusinesscentral
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````