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

# Export moneybird sandbox data

> Export all data from the sandbox in the same format used for initialization.



## OpenAPI

````yaml get /sandbox/moneybird/{sandbox_id}/dump
openapi: 3.1.0
info:
  title: Klavis AI (https://www.klavis.ai)
  description: Klavis AI - Open Source MCP Integrations for AI Applications
  version: 0.1.0
servers:
  - url: https://api.klavis.ai
    description: US Production server
  - url: https://api.eu.klavis.ai
    description: EU Production server
security: []
paths:
  /sandbox/moneybird/{sandbox_id}/dump:
    get:
      tags:
        - sandbox
      summary: Export moneybird sandbox data
      description: >-
        Export all data from the sandbox in the same format used for
        initialization.
      operationId: dump_sandbox_sandbox_moneybird__sandbox_id__dump_get
      parameters:
        - name: sandbox_id
          in: path
          required: true
          schema:
            type: string
            description: The unique sandbox identifier
            title: Sandbox Id
          description: The unique sandbox identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DumpSandboxResponse_MoneybirdData_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DumpSandboxResponse_MoneybirdData_:
      properties:
        sandbox_id:
          type: string
          title: Sandbox Id
          description: Sandbox identifier
        server_name:
          $ref: '#/components/schemas/SandboxMCPServer'
          description: MCP server type
        dumped_at:
          type: string
          format: date-time
          title: Dumped At
          description: Timestamp of dump
        data:
          $ref: '#/components/schemas/MoneybirdData-Output'
          description: Dumped sandbox data in server-specific format
      type: object
      required:
        - sandbox_id
        - server_name
        - dumped_at
        - data
      title: DumpSandboxResponse[MoneybirdData]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SandboxMCPServer:
      type: string
      enum:
        - jira
        - github
        - salesforce
        - hubspot
        - notion
        - airtable
        - linear
        - asana
        - google_sheets
        - google_drive
        - google_docs
        - gmail
        - google_calendar
        - google_forms
        - clickup
        - close
        - monday
        - motion
        - onedrive
        - microsoft_teams
        - outlook_mail
        - cal.com
        - quickbooks
        - moneybird
        - dropbox
        - shopify
        - woocommerce
        - outlook_calendar
        - resend
        - wordpress
        - mem0
        - supabase
        - slack
        - confluence
        - discord
        - snowflake
        - postgres
        - mongodb
        - youtube
        - googleworkspaceatlas
        - huggingface
        - mock_notion
        - arxiv_latex
        - calculator
        - clinicaltrialsgov
        - fetch
        - met_museum
        - open_library
        - osm
        - pubmed
        - us_weather
        - duckduckgo
        - whois
        - wikipedia
        - scholarly
        - howtocook
        - yahoo_finance
        - '12306'
        - youtube_transcript
        - weather
        - twelvedata
        - national_parks
        - lara_translate
        - e2b
        - context7
        - alchemy
        - weights_and_biases
        - oxylabs
        - google_maps
        - brave_search
        - exa
        - serper
      title: SandboxMCPServer
      description: Supported MCP servers for sandboxing
    MoneybirdData-Output:
      properties:
        ledger_accounts:
          anyOf:
            - items:
                $ref: '#/components/schemas/MoneybirdLedgerAccount'
              type: array
            - type: 'null'
          title: Ledger Accounts
          description: List of ledger accounts to create
        contacts:
          anyOf:
            - items:
                $ref: '#/components/schemas/MoneybirdContact'
              type: array
            - type: 'null'
          title: Contacts
          description: List of contacts to create
        products:
          anyOf:
            - items:
                $ref: '#/components/schemas/MoneybirdProduct'
              type: array
            - type: 'null'
          title: Products
          description: List of products to create
        projects:
          anyOf:
            - items:
                $ref: '#/components/schemas/MoneybirdProject'
              type: array
            - type: 'null'
          title: Projects
          description: List of projects to create
        time_entries:
          anyOf:
            - items:
                $ref: '#/components/schemas/MoneybirdTimeEntry'
              type: array
            - type: 'null'
          title: Time Entries
          description: List of time entries to create
        sales_invoices:
          anyOf:
            - items:
                $ref: '#/components/schemas/MoneybirdSalesInvoice'
              type: array
            - type: 'null'
          title: Sales Invoices
          description: List of sales invoices to create
      type: object
      title: MoneybirdData
      description: |-
        Complete Moneybird sandbox data structure - API format

        Note: Objects are created in dependency order:
        1. Ledger accounts (no dependencies)
        2. Contacts (no dependencies)
        3. Products (no dependencies, but needs tax rates from system)
        4. Projects (no dependencies)
        5. Time entries (linked to projects and contacts)
        6. Sales invoices (linked to contacts)
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    MoneybirdLedgerAccount:
      properties:
        rgs_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Rgs Code
          description: RGS code - required for creation, not returned by GET API
        name:
          type: string
          title: Name
          description: Account name
        account_type:
          type: string
          title: Account Type
          description: Account type (revenue, expense, etc.)
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Id
          description: Account identifier (optional for system accounts)
      type: object
      required:
        - name
        - account_type
      title: MoneybirdLedgerAccount
      description: |-
        Moneybird ledger account (chart of accounts) - API format

        Attributes:
            rgs_code: Reference Grootboekschema (RGS) code - required for creation
            name: Account name
            account_type: Account type (revenue, expense, etc.)
            account_id: Account identifier (optional, system accounts may not have this)
    MoneybirdContact:
      properties:
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
          description: Company name
        firstname:
          anyOf:
            - type: string
            - type: 'null'
          title: Firstname
          description: First name
        lastname:
          anyOf:
            - type: string
            - type: 'null'
          title: Lastname
          description: Last name
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
          description: Phone number
        address1:
          anyOf:
            - type: string
            - type: 'null'
          title: Address1
          description: Street address
        city:
          anyOf:
            - type: string
            - type: 'null'
          title: City
          description: City
        zipcode:
          anyOf:
            - type: string
            - type: 'null'
          title: Zipcode
          description: Postal code
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
          description: Country code
        sepa_iban:
          anyOf:
            - type: string
            - type: 'null'
          title: Sepa Iban
          description: SEPA IBAN
      type: object
      title: MoneybirdContact
      description: |-
        Moneybird contact (customer/supplier) - API format

        Attributes:
            company_name: Company name (optional, for business contacts)
            firstname: First name (optional, for individual contacts)
            lastname: Last name (optional, for individual contacts)
            phone: Phone number
            address1: Street address
            city: City
            zipcode: Postal code
            country: Country code (e.g., 'NL', 'DE', 'FR')
            sepa_iban: SEPA IBAN for direct debit (optional)
    MoneybirdProduct:
      properties:
        description:
          type: string
          title: Description
          description: Product description
        title:
          type: string
          title: Title
          description: Product title/name
        price:
          type: string
          title: Price
          description: Product price as string
        currency:
          type: string
          title: Currency
          description: Currency code (e.g., 'EUR')
        identifier:
          type: string
          title: Identifier
          description: Product SKU/identifier
        frequency:
          anyOf:
            - type: integer
            - type: 'null'
          title: Frequency
          description: Billing frequency
        frequency_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Frequency Type
          description: Frequency type (month, year)
      type: object
      required:
        - description
        - title
        - price
        - currency
        - identifier
      title: MoneybirdProduct
      description: |-
        Moneybird product/service - API format

        Attributes:
            description: Product description
            title: Product title/name
            price: Product price
            currency: Currency code (e.g., 'EUR')
            identifier: Product SKU/identifier
            frequency: Billing frequency (optional, for recurring products)
            frequency_type: Frequency type (e.g., 'month', 'year')
    MoneybirdProject:
      properties:
        name:
          type: string
          title: Name
          description: Project name
        state:
          type: string
          title: State
          description: Project state (active, archived)
          default: active
        budget:
          anyOf:
            - type: number
            - type: 'null'
          title: Budget
          description: Project budget
      type: object
      required:
        - name
      title: MoneybirdProject
      description: |-
        Moneybird project for time tracking and invoicing - API format

        Attributes:
            name: Project name
            state: Project state (active, archived)
            budget: Project budget
    MoneybirdTimeEntry:
      properties:
        description:
          type: string
          title: Description
          description: Description of work performed
        hours:
          type: number
          exclusiveMinimum: 0
          title: Hours
          description: Number of hours worked
        billable:
          type: boolean
          title: Billable
          description: Whether this time is billable
          default: true
      type: object
      required:
        - description
        - hours
      title: MoneybirdTimeEntry
      description: >-
        Moneybird time entry - API format


        Note: During initialization, this will be linked to a project and
        contact automatically.

        The started_at and ended_at timestamps will be generated based on the
        hours field.


        Attributes:
            description: Description of work performed
            hours: Number of hours worked
            billable: Whether this time is billable
    MoneybirdSalesInvoice:
      properties:
        reference:
          type: string
          title: Reference
          description: Invoice reference number
        currency:
          type: string
          title: Currency
          description: Currency code
          default: EUR
        prices_are_incl_tax:
          type: boolean
          title: Prices Are Incl Tax
          description: Whether prices include tax
          default: false
        state:
          type: string
          title: State
          description: Invoice state (draft, open, paid)
          default: draft
        details:
          items:
            $ref: '#/components/schemas/MoneybirdInvoiceDetail'
          type: array
          minItems: 1
          title: Details
          description: Invoice line items
      type: object
      required:
        - reference
        - details
      title: MoneybirdSalesInvoice
      description: >-
        Moneybird sales invoice - API format


        Note: During initialization, contact_id will be automatically assigned
        based on

        the contacts created. Invoice dates will be calculated dynamically.


        Attributes:
            reference: Invoice reference number
            currency: Currency code (e.g., 'EUR')
            prices_are_incl_tax: Whether prices include tax
            state: Invoice state (draft, open, paid)
            details: List of invoice line items
    MoneybirdInvoiceDetail:
      properties:
        description:
          type: string
          title: Description
          description: Line item description
        price:
          type: string
          title: Price
          description: Unit price as string
        amount:
          type: string
          title: Amount
          description: Quantity as string
      type: object
      required:
        - description
        - price
        - amount
      title: MoneybirdInvoiceDetail
      description: Invoice line item details
  securitySchemes:
    HTTPBearer:
      type: http
      description: Your Klavis AI API key.
      scheme: bearer
      x-fern-bearer:
        name: api_key

````