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

# Create ACAM Item

> This endpoint allows you to add an ACAM item to an existing operation. Important: This endpoint can only be used with operations that have an `operation_purpose` of "EFX".



## OpenAPI

````yaml POST /corporate/operation/{operation_id}/acam
openapi: 3.0.1
info:
  title: Açoriana - FX as a Service
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  version: beta
servers:
  - url: https://fxaas-dev.acorianacorretora.com.br
security: []
paths:
  /corporate/operation/{operation_id}/acam:
    post:
      tags:
        - Corporate
      summary: Add an ACAM item to an existing operation
      description: >-
        This endpoint allows you to add an ACAM item to an existing operation.
        Important: This endpoint can only be used with operations that have an
        `operation_purpose` of "EFX".
      parameters:
        - $ref: '#/components/parameters/Authorization'
        - name: operation_id
          in: path
          required: true
          description: ID of the EFX operation to add the ACAM item to
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAcamRequest'
            example:
              local_currency_amount: 1.2
              tax_id: '12345678901234'
              merchant: Acme Importações Ltda
      responses:
        '201':
          description: ACAM item added successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcamResponse'
              example:
                message: ACAM item added successfully
                status: success
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid or missing authentication token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Operation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    Authorization:
      name: Authorization
      in: header
      required: true
      schema:
        type: string
        example: Bearer Token
      description: Authorization header
  schemas:
    CreateAcamRequest:
      type: object
      properties:
        local_currency_amount:
          type: number
          format: double
          description: Amount in local currency
        tax_id:
          type: string
          description: Tax ID of the merchant or individual
        merchant:
          type: string
          description: Name of the merchant
      required:
        - local_currency_amount
        - tax_id
        - merchant
    AcamResponse:
      type: object
      properties:
        message:
          type: string
          description: Success or error message
        status:
          type: string
          description: Response status
          enum:
            - success
            - error
    Error:
      required:
        - message
      type: object
      properties:
        message:
          description: message of the error
          type: string

````