> ## 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.

# Create Bill



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#NETSUITE_CREATE_BILL
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/#NETSUITE_CREATE_BILL:
    post:
      summary: Create Bill
      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: NETSUITE_CREATE_BILL
                parameters:
                  type: object
                  properties:
                    entity:
                      type: string
                      description: 'Vendor : The vendor ID this bill is associated with.'
                    tranDate:
                      type: string
                      description: >-
                        Date : Accepts ISO 8601 date format. (example:
                        "2022-01-31")
                    postingPeriod:
                      type: string
                      description: >-
                        Posting Period : Select the period to which you want to
                        post this transaction.
                    subsidiary:
                      type: string
                      description: >-
                        Subsidiary : Enter the subsidiary ID to associate with
                        this transaction. By default, the bill will use the
                        Parent Company subsidiary.
                    tranId:
                      type: string
                      description: >-
                        Reference Number : Enter additional information to
                        identify this transaction, such as the vendor's invoice
                        number. This reference appears on reports such as the
                        Accounts Payable Register.
                    dueDate:
                      type: string
                      description: >-
                        Due Date : Accepts ISO 8601 date format. (example:
                        "2022-01-31")
                    userTotal:
                      type: string
                      description: 'Amount (example: "25.00")'
                    approvalStatus:
                      type: string
                      description: 'Approval Status (example: "Approved")'
                      enum:
                        - '2'
                        - '1'
                    memo:
                      type: string
                      description: >-
                        Memo : Enter a memo that will appear on such reports as
                        the 2-line Accounts Payable Register.
                    itemsInput:
                      type: object
                      description: >-
                        Expenses and Items : Enter an array of Expenses
                        including the description, quantity, and amount for each
                        Line item. See the docs
                        (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2021.2/index.html#/definitions/vendorBill-expenseCollection)
                        for available fields. (example: "[
                            {
                              "account:"58",
                              "amount": 30.99,
                              "memo":"test"
                            }
                          ]")
                      properties: {}
                    billAdditionalFields:
                      type: string
                      description: >-
                        Additional Fields : Specify additional fields to include
                        on this Bill as JSON. See the docs
                        (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2021.2/index.html#/definitions/vendorBill)
                        for available fields. (example: "[
                            {
                              "vendorTaxItem": 10
                            },
                          ]")
                  required:
                    - entity
                    - tranDate
                    - postingPeriod
                    - itemsInput
                  x-integration: netsuite
              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.

````