> ## 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 Supplier Invoice



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#SAP_CREATE_SUPPLIER_INVOICE
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/#SAP_CREATE_SUPPLIER_INVOICE:
    post:
      summary: Create Supplier Invoice
      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: SAP_CREATE_SUPPLIER_INVOICE
                parameters:
                  type: object
                  properties:
                    CompanyCode:
                      type: string
                      description: 'Company Code (example: "1710")'
                    DocumentDate:
                      type: string
                      description: 'Document Date (example: "2022-01-01")'
                    PostingDate:
                      type: string
                      description: 'Posting Date (example: "2022-01-01")'
                    DocumentCurrency:
                      type: string
                      description: 'Document Currency (example: "USD")'
                    InvoiceGrossAmount:
                      type: string
                      description: 'Invoice GrossAmount (example: "1511.6")'
                    supplierInvoiceAdditionalFields:
                      type: string
                      description: >-
                        Additional Fields : Specify additional fields to include
                        on this Supplier Invoice as JSON. For example, you may
                        specify a NetPaymentDays here. See the docs
                        (https://api.sap.com/api/API_SUPPLIERINVOICE_PROCESS_SRV/resource)
                        for available fields. (example: "
                            {
                              "CashDiscount1Percent": "0",
                              "CashDiscount1Days": "0",
                              "CashDiscount2Percent": "0",
                              "CashDiscount2Days": "0",
                              "NetPaymentDays": "0",
                              "PaymentBlockingReason": "s",
                              "AccountingDocumentType": "st", 
                            }")
                  required:
                    - CompanyCode
                    - DocumentDate
                    - PostingDate
                    - DocumentCurrency
                    - InvoiceGrossAmount
                  x-integration: saps4hana
              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.

````