Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Encodian

Scalekit connector
Open markdown

The Encodian connector lets your AI agent act in each user's Encodian account. Each user connects their own Encodian API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 60 tools.

Tools
60
What they doRead · write · destructive
1 · 59 · 01 read59 write0 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Encodian connection

    In AgentKit > Connections, create an Encodian connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'encodian'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Encodian:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'encodian_subscription_status_get',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Encodian credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • encodian_subscription_status_getGet the Encodian Flowr subscription's status, plan, credits used and credits remaining.Read-only

    Get Subscription Status

    Get the Encodian Flowr subscription's status, plan, credits used and credits remaining. Returns availableActionsMonth, availableActionsMonthDec, subscriptionEnabled, subscriptionLevel, monthlyActions, expiryDate, billingInterval, HttpStatusCode, HttpStatusMessage, OperationId. Use this to check the API key and remaining credits.

    Inputs

    This tool takes no inputs.

  • encodian_ai_invoice_processExtract structured invoice data (vendor, totals, line items, dates) from an invoice PDF or image.Write

    Extract Invoice Data (AI)

    Extract structured invoice data (vendor, totals, line items, dates) from an invoice PDF or image. Returns result, HttpStatusCode, HttpStatusMessage, OperationId, Errors, OperationStatus. Use encodian_ai_receipt_process for receipts. Each call uses Encodian Flowr credits.

    Inputs

    file_contentstringrequired
    The source file's content, base64-encoded. Example: JVBERi0xLjcKJcfsj6IKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c+PgplbmRvYmoK
    date_formatstring
    Set the date format to apply to DateTime values present within the extracted data set. Formats should conform to standard Microsoft notation - https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings. Example: yyyy-MM-dd
    prebuilt_modelstring
    Set the Prebuilt Model to be used within the Azure service. Example: Contractone of ContractHealthInsuranceCardUSIDDocumentInvoiceReceiptBankCheckUsBankStatementUSCreditCardMarriageCertificateUSMortgage1003Mortgage1004Mortgage1005Mortgage1008MortgageClosingDisclosurePayStubUSTaxUSTaxW2TaxW4Tax1095ATax1095CTax1098Tax1098ETax1098TTax1099ATax1099BTax1099CTax1099CAPTax1099ComboTax1099DIVTax1099GTax1099HTax1099INTTax1099KTax1099LSTax1099LTCTax1099MISCTax1099NECTax1099OIDTax1099PATRTax1099QTax1099QATax1099RTax1099STax1099SATax1099SBTax1099SSATax1040Tax1040Schedule1Tax1040Schedule2Tax1040Schedule3Tax1040Schedule8812Tax1040ScheduleATax1040ScheduleBTax1040ScheduleCTax1040ScheduleDTax1040ScheduleETax1040ScheduleEICTax1040ScheduleFTax1040ScheduleHTax1040ScheduleJTax1040ScheduleRTax1040ScheduleSETax1040Senior
    query_fieldsstring
    A comma separated list of query fields to search for. Example: []
    remove_new_linesboolean
    Remove newlines in the data returned. Example: false
  • encodian_ai_prompt_runRun a prompt against an AI model through Encodian and return the response text.Write

    Run AI Prompt

    Run a prompt against an AI model through Encodian and return the response text. Returns message, conversation, HttpStatusCode, HttpStatusMessage, OperationId, Errors, OperationStatus. Use for summarising or rewriting text inside a document workflow. Each call uses Encodian Flowr credits.

    Inputs

    modelstringrequired
    Select the Open AI model. One of: GPT_4_1, GPT_4_1_mini, o4_mini, GPT_5_4. Example: GPT_4_1_minione of GPT_4_1GPT_4_1_minio4_miniGPT_5_4
    promptstringrequired
    The prompt for processing the 'Text' value provided. Example: Summarise the following text in two sentences.
    contextstring
    Optional - Sets context and rules for the conversation. Example: []
    conversationstring
    Optional - A JSON representation of the Open AI conversation for the associated chat session. Example: []
    frequency_penaltynumber
    A value that influences the probability of generated tokens appearing based on their cumulative frequency in generated text. Positive values will make tokens less likely to appear as their frequency increases and decrease the likelihood of the model repeating the same statements verbatim. Supported range is [-2, 2]. Example: 10
    max_output_tokensinteger
    Set the maximum limit for the number of tokens that can be generated for output tokens. Example: 10
    presence_penaltynumber
    A value that influences the probability of generated tokens appearing based on their existing presence in generated text. Positive values will make tokens less likely to appear when they already exist and increase the model's likelihood to output new topics. Supported range is [-2, 2]. Example: 10
    reasoning_effortstring
    Only used for GPT 5.4; a value that controls the reasoning effort used while generating a response. Reducing reasoning effort can result in faster responses and fewer tokens used. One of: Low, Medium, High. Example: Lowone of LowMediumHigh
    temperaturenumber
    The sampling temperature to use that controls the apparent creativity of generated completions. Higher values will make output more random while lower values will make results more focused and deterministic. It is not recommended to modify temperature and top_p for the same completions request as the interaction of these two settings is difficult to predict. Supported range is [0, 1]. Example: 10
  • encodian_ai_receipt_processExtract structured receipt data (merchant, totals, items, date) from a receipt image or PDF.Write

    Extract Receipt Data (AI)

    Extract structured receipt data (merchant, totals, items, date) from a receipt image or PDF. Returns result, HttpStatusCode, HttpStatusMessage, OperationId, Errors, OperationStatus. Use encodian_ai_invoice_process for invoices. Each call uses Encodian Flowr credits.

    Inputs

    file_contentstringrequired
    The source file's content, base64-encoded. Example: JVBERi0xLjcKJcfsj6IKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c+PgplbmRvYmoK
    date_formatstring
    Set the date format to apply to DateTime values present within the extracted data set. Formats should conform to standard Microsoft notation - https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings. Example: yyyy-MM-dd
    prebuilt_modelstring
    Set the Prebuilt Model to be used within the Azure service. Example: Contractone of ContractHealthInsuranceCardUSIDDocumentInvoiceReceiptBankCheckUsBankStatementUSCreditCardMarriageCertificateUSMortgage1003Mortgage1004Mortgage1005Mortgage1008MortgageClosingDisclosurePayStubUSTaxUSTaxW2TaxW4Tax1095ATax1095CTax1098Tax1098ETax1098TTax1099ATax1099BTax1099CTax1099CAPTax1099ComboTax1099DIVTax1099GTax1099HTax1099INTTax1099KTax1099LSTax1099LTCTax1099MISCTax1099NECTax1099OIDTax1099PATRTax1099QTax1099QATax1099RTax1099STax1099SATax1099SBTax1099SSATax1040Tax1040Schedule1Tax1040Schedule2Tax1040Schedule3Tax1040Schedule8812Tax1040ScheduleATax1040ScheduleBTax1040ScheduleCTax1040ScheduleDTax1040ScheduleETax1040ScheduleEICTax1040ScheduleFTax1040ScheduleHTax1040ScheduleJTax1040ScheduleRTax1040ScheduleSETax1040Senior
    query_fieldsstring
    A comma separated list of query fields to search for. Example: []
    remove_new_linesboolean
    Remove newlines in the data returned. Example: false
  • encodian_ai_text_translateTranslate text into another language with Encodian's AI translation.Write

    Translate Text (AI)

    Translate text into another language with Encodian's AI translation. Returns translation, HttpStatusCode, HttpStatusMessage, OperationId, Errors, OperationStatus. Give language codes such as en, fr or de. Each call uses Encodian Flowr credits.

    Inputs

    target_languagestringrequired
    The language to convert the source 'Text' value to. Example: Frenchone of AfrikaansAlbanianAmharicArabicArmenianAssameseAzerbaijaniLatinBanglaBashkirBasqueBhojpuriBodoBosnianLatinBulgarianCantoneseTraditionalCatalanChineseLiteraryChineseSimplifiedChineseTraditionalChiShonaCroatianCzechDanishDariDivehiDogriDutchEnglishEstonianFaroeseFijianFilipinoFinnishFrenchFrenchCanadianGalicianGeorgianGermanGreekGujaratiHaitianCreoleHausaHebrewHindiHmongDawLatinHungarianIcelandicIgboIndonesianInuinnaqtunInuktitutInuktitutLatinIrishItalianJapaneseKannadaKashmiriKazakhKhmerKinyarwandaKlingonKlingonPlqaDKonkaniKoreanKurdishCentralKurdishNorthernKyrgyzCyrillicLaoLatvianLithuanianLingalaLowerSorbianLugandaMacedonianMaithiliMalagasyMalayLatinMalayalamMalteseMaoriMarathiMongolianCyrillicMongolianTraditionalMyanmarNepaliNorwegianNyanjaOdiaPashtoPersianPolishPortugueseBrazilPortuguesePortugalPunjabiQueretaroOtomiRomanianRundiRussianSamoanLatinSerbianCyrillicSerbianLatinSesothoSesothoSaLeboaSetswanaSindhiSinhalaSlovakSlovenianSomaliArabicSpanishSwahiliLatinSwedishTahitianTamilTatarLatinTeluguThaiTibetanTigrinyaTonganTurkishTurkmenLatinUkrainianUpperSorbianUrduUyghurArabicUzbekLatinVietnameseWelshXhosaYorubaYucatecMayaZulu
    textstringrequired
    The text to translate. Example: Contact sales@acme.com or visit https://acme.com for details.
    formatstring
    Set the format of the 'Text' value. One of: HTML, Text. Example: Textone of HTMLText
    profanity_actionstring
    Define how to handle profanity detected within the 'Text' value. One of: Delete, Keep, Replace. Example: Keepone of DeleteKeepReplace
    profanity_replacestring
    Set the value used to replace profanity detected within the 'Text' value. This setting only applies when the 'Profanity Action' is set to 'Replace'. One of: Asterisk, Tag. Example: Asteriskone of AsteriskTag
    source_languagestring
    The language of the source text, select 'AUTO' to automatically detect. Example: Englishone of AUTOAfrikaansAlbanianAmharicArabicArmenianAssameseAzerbaijaniLatinBanglaBashkirBasqueBhojpuriBodoBosnianLatinBulgarianCantoneseTraditionalCatalanChineseLiteraryChineseSimplifiedChineseTraditionalChiShonaCroatianCzechDanishDariDivehiDogriDutchEnglishEstonianFaroeseFijianFilipinoFinnishFrenchFrenchCanadianGalicianGeorgianGermanGreekGujaratiHaitianCreoleHausaHebrewHindiHmongDawLatinHungarianIcelandicIgboIndonesianInuinnaqtunInuktitutInuktitutLatinIrishItalianJapaneseKannadaKashmiriKazakhKhmerKinyarwandaKlingonKlingonPlqaDKonkaniKoreanKurdishCentralKurdishNorthernKyrgyzCyrillicLaoLatvianLithuanianLingalaLowerSorbianLugandaMacedonianMaithiliMalagasyMalayLatinMalayalamMalteseMaoriMarathiMongolianCyrillicMongolianTraditionalMyanmarNepaliNorwegianNyanjaOdiaPashtoPersianPolishPortugueseBrazilPortuguesePortugalPunjabiQueretaroOtomiRomanianRundiRussianSamoanLatinSerbianCyrillicSerbianLatinSesothoSesothoSaLeboaSetswanaSindhiSinhalaSlovakSlovenianSomaliArabicSpanishSwahiliLatinSwedishTahitianTamilTatarLatinTeluguThaiTibetanTigrinyaTonganTurkishTurkmenLatinUkrainianUpperSorbianUrduUyghurArabicUzbekLatinVietnameseWelshXhosaYorubaYucatecMayaZulu
  • encodian_barcode_createCreate a barcode image of a chosen type (Code 128, EAN-13 and others) from data.Write

    Create Barcode

    Create a barcode image of a chosen type (Code 128, EAN-13 and others) from data. Returns HttpStatusCode, HttpStatusMessage, OperationId, Errors, OperationStatus, Filename, FileContent. Returns the image as base64. Each call uses Encodian Flowr credits.

    Inputs

    code_text_encodingstringrequired
    Set Encoding of the text. One of: Default, Latin1, BigEndianUnicode, UTF16, UTF8, UTF7, ASCII. Example: UTF8one of DefaultLatin1BigEndianUnicodeUTF16UTF8UTF7ASCII
    dot_codemaskintegerrequired
    Set the mask value for DotCode barcodes. Example: -1
    aspect_rationumber
    Set the aspect ratio of the barcode. Example: 1
    australian_post_encoding_tablestring
    Set encoding table type for an Australian Post barcode. One of: CTable, NTable, Other. Example: Otherone of CTableNTableOther
    australian_post_short_bar_heightinteger
    Set short bar height for an Australian Post barcode (pixels). Example: 120
    aztec_error_levelinteger
    Set the error level protect for Aztec barcodes (value between 10-95) Example: 10
    aztec_symbol_modestring
    Set the Aztec symbol mode for Aztec barcodes. One of: Auto, Compact, FullRange, Rune. Example: Autoone of AutoCompactFullRangeRune
    back_colorstring
    Set the barcode back color of the barcode. (HTML color format). Example: White
    bar_colorstring
    Set the color of the barcode bars (HTML color format). Example: Black
    bar_heightinteger
    Set the height of the barcode bars (pixels). Example: 10
    barcode_caption_above_fontstring
    Set the font for the caption above the barcode. Example: example
    barcode_caption_above_font_alignmentstring
    Set the alignment of the font applied to the caption text above the barcode. One of: Left, Centre, Right. Example: Leftone of LeftCentreRight
    barcode_caption_above_font_colourstring
    Set the color of the font applied to the caption text above the barcode. Example: AliceBlueone of AliceBlueAntiqueWhiteAquaAquamarineAzureBeigeBisqueBlackBlanchedAlmondBlueBlueVioletBrownBurlyWoodCadetBlueChartreuseChocolateCoralCornflowerBlueCornsilkCrimsonCyanDarkBlueDarkCyanDarkGoldenrodDarkGrayDarkGreenDarkKhakiDarkMagentaDarkOliveGreenDarkOrangeDarkOrchidDarkRedDarkSalmonDarkSeaGreenDarkSlateBlueDarkSlateGrayDarkTurquoiseDarkVioletDeepPinkDeepSkyBlueDimGrayDodgerBlueFirebrickFloralWhiteForestGreenFuchsiaGainsboroGhostWhiteGoldGoldenrodGrayGreenGreenYellowHoneydewHotPinkIndianRedIndigoIvoryKhakiLavenderLavenderBlushLawnGreenLemonChiffonLightBlueLightCoralLightCyanLightGoldenrodYellowLightGrayLightGreenLightPinkLightSalmonLightSeaGreenLightSkyBlueLightSlateGrayLightSteelBlueLightYellowLimeLimeGreenLinenMagentaMaroonMediumAquamarineMediumBlueMediumOrchidMediumPurpleMediumSeaGreenMediumSlateBlueMediumSpringGreenMediumTurquoiseMediumVioletRedMidnightBlueMintCreamMistyRoseMoccasinNavajoWhiteNavyOldLaceOliveOliveDrabOrangeOrangeRedOrchidPaleGoldenrodPaleGreenPaleTurquoisePaleVioletRedPapayaWhipPeachPuffPeruPinkPlumPowderBluePurpleRedRosyBrownRoyalBlueSaddleBrownSalmonSandyBrownSeaGreenSeaShellSiennaSilverSkyBlueSlateBlueSlateGraySnowSpringGreenSteelBlueTanTealThistleTomatoTransparentTurquoiseVioletWheatWhiteWhiteSmokeYellowYellowGreen
    barcode_caption_above_font_sizenumber
    Set the size of the font applied to the caption text above the barcode. Example: 25
    barcode_caption_above_font_stylestring
    Set the style of the font applied to the caption text above the barcode. One of: Regular, Bold, Italic, Underline, Strikeout. Example: Regularone of RegularBoldItalicUnderlineStrikeout
    barcode_caption_below_fontstring
    Set the font for the caption below the barcode. Example: example
    barcode_caption_below_font_alignmentstring
    Set the alignment of the font applied to the caption text below the barcode. One of: Left, Centre, Right. Example: Leftone of LeftCentreRight
    barcode_caption_below_font_colourstring
    Set the color of the font applied to the caption text below the barcode. Example: AliceBlueone of AliceBlueAntiqueWhiteAquaAquamarineAzureBeigeBisqueBlackBlanchedAlmondBlueBlueVioletBrownBurlyWoodCadetBlueChartreuseChocolateCoralCornflowerBlueCornsilkCrimsonCyanDarkBlueDarkCyanDarkGoldenrodDarkGrayDarkGreenDarkKhakiDarkMagentaDarkOliveGreenDarkOrangeDarkOrchidDarkRedDarkSalmonDarkSeaGreenDarkSlateBlueDarkSlateGrayDarkTurquoiseDarkVioletDeepPinkDeepSkyBlueDimGrayDodgerBlueFirebrickFloralWhiteForestGreenFuchsiaGainsboroGhostWhiteGoldGoldenrodGrayGreenGreenYellowHoneydewHotPinkIndianRedIndigoIvoryKhakiLavenderLavenderBlushLawnGreenLemonChiffonLightBlueLightCoralLightCyanLightGoldenrodYellowLightGrayLightGreenLightPinkLightSalmonLightSeaGreenLightSkyBlueLightSlateGrayLightSteelBlueLightYellowLimeLimeGreenLinenMagentaMaroonMediumAquamarineMediumBlueMediumOrchidMediumPurpleMediumSeaGreenMediumSlateBlueMediumSpringGreenMediumTurquoiseMediumVioletRedMidnightBlueMintCreamMistyRoseMoccasinNavajoWhiteNavyOldLaceOliveOliveDrabOrangeOrangeRedOrchidPaleGoldenrodPaleGreenPaleTurquoisePaleVioletRedPapayaWhipPeachPuffPeruPinkPlumPowderBluePurpleRedRosyBrownRoyalBlueSaddleBrownSalmonSandyBrownSeaGreenSeaShellSiennaSilverSkyBlueSlateBlueSlateGraySnowSpringGreenSteelBlueTanTealThistleTomatoTransparentTurquoiseVioletWheatWhiteWhiteSmokeYellowYellowGreen
    barcode_caption_below_font_sizenumber
    Set the size of the font applied to the caption text below the barcode. Example: 25
    barcode_caption_below_font_stylestring
    Set the style of the font applied to the caption text below the barcode. One of: Regular, Bold, Italic, Underline, Strikeout. Example: Regularone of RegularBoldItalicUnderlineStrikeout
    barcode_datastring
    Barcode Data. Example: https://acme.com
    barcode_image_formatstring
    Barcode Image Format. One of: PNG, JPG, SVG, BMP, TIFF, GIF. Example: PNGone of PNGJPGSVGBMPTIFFGIF
    barcode_typestring
    Set the type of barcode to be produced. Example: AustraliaPostone of AustraliaPostAztecCodabarCodablockFCode11Code39StandardCode39ExtendedCode128Code16KDatabarExpandedDatabarExpandedStackedDatabarLimitedDatabarOmniDirectionalDatabarStackedDatabarStackedOmniDirectionalDatabarTruncatedDataMatrixDotCodeEAN8EAN13GS1Code128GS1CodablockFInterleaved2of5ISBNISMNISSNITF6ITF14MaxiCodePdf417PlanetPostnetStandard2of5UPCAUpcaGs1Code128CouponUpcaGs1DatabarCouponUPCE
    barcode_type_parameterstring
    Set the barcode type. Example: AustraliaPostone of AustraliaPostAztecCodabarCodablockFCode11Code39StandardCode39ExtendedCode128Code16KDatabarExpandedDatabarExpandedStackedDatabarLimitedDatabarOmniDirectionalDatabarStackedDatabarStackedOmniDirectionalDatabarTruncatedDataMatrixDotCodeEAN8EAN13GS1Code128GS1CodablockFInterleaved2of5ISBNISMNISSNITF6ITF14MaxiCodePdf417PlanetPostnetStandard2of5UPCAUpcaGs1Code128CouponUpcaGs1DatabarCouponUPCE
    barcode_value_text_locationstring
    Set the location of the barcode value text. One of: None, Above, Below. Example: Belowone of NoneAboveBelow
    border_colorstring
    Set the barcode border color (HTML color format) Example: Black
    border_stylestring
    Set the barcode code border style. One of: Dash, DashDot, DashDotDot, Dot, Solid. Example: Dashone of DashDashDotDashDotDotDotSolid
    border_visibleboolean
    Set whether the barcode border is visible or not. Example: true
    border_widthinteger
    Set width of the barcode border (pixels). Example: 12345
    caption_abovestring
    Set the caption text above the barcode. Example: Order 1042
    caption_belowstring
    Set the caption text below the barcode. Example: acme.com
    codabar_checksum_modestring
    Set the checksum mode for Codabar barcodes. One of: Mod10, Mod16. Example: Mod16one of Mod10Mod16
    codabar_start_symbolstring
    Set the start symbol for Codabar barcodes. One of: A, B, C, D. Example: Aone of ABCD
    codabar_stop_symbolstring
    Set the stop symbol for Codabar barcodes. One of: A, B, C, D. Example: Bone of ABCD
    code16_k_quiet_zone_left_coefinteger
    Set the size of the left quiet zone as a multiple of the xDimension for Code16K barcodes. Example: 10
    code16_k_quiet_zone_right_coefinteger
    Set the size of the right quiet zone as a multiple of the xDimension for Code16K barcodes. Example: 1
    columnsinteger
    Set the number of columns. Example: 10
    data_matrix_eccstring
    Set the DataMatrix ECC type for DataMatrix barcodes. One of: EccAuto, Ecc000, Ecc050, Ecc080, Ecc100, Ecc140, Ecc200. Example: EccAutoone of EccAutoEcc000Ecc050Ecc080Ecc100Ecc140Ecc200
    data_matrix_encode_modestring
    Set encoding mode for DataMatrix barcodes. One of: Auto, ASCII, Bytes, C40, Text, EDIFACT, ANSIX12, ExtendedCodetext, Extended, Base256, Binary, ECI. Example: Autoone of AutoASCIIBytesC40TextEDIFACTANSIX12ExtendedCodetextExtendedBase256BinaryECI
    filled_barsboolean
    Set whether the barcode bars are a filled. Example: true
    heightinteger
    Set the barcode height (pixels). Example: 10
    itf_border_thicknessinteger
    Set the border thickness for ITF barcodes (pt). Example: 1
    itf_border_typestring
    Set the border type for ITF barcodes. One of: None, Frame, Bar, FrameOut, BarOut. Example: Barone of NoneFrameBarFrameOutBarOut
    maxi_code_encode_modeinteger
    Set the encode mode for Maxi Code barcodes (value between 2 and 6). Example: 4
    padding_bottominteger
    Set bottom padding of the barcode (pixels). Example: 10
    padding_leftinteger
    Set left padding of the barcode (pixels). Example: 10
    padding_rightinteger
    Set right padding of the barcode (pixels). Example: 10
    padding_topinteger
    Set top padding of the barcode (pixels). Example: 10
    pdf417_compaction_modestring
    Set the compaction mode for Pdf417 barcodes. One of: Auto, Text, Numeric, Binary. Example: Autoone of AutoTextNumericBinary
    pdf417_error_levelstring
    Set the error level for Pdf417 barcodes. One of: Level0, Level1, Level2, Level3, Level4, Level5, Level6, Level7, Level8. Example: Level8one of Level0Level1Level2Level3Level4Level5Level6Level7Level8
    pdf417_macro_file_idinteger
    Set the macro file ID for Pdf417 barcodes. Example: 1
    pdf417_macro_segment_idinteger
    Set the macro segment ID for Pdf417 barcodes. Example: 1
    pdf417_macro_segments_countinteger
    Set macro segment count for Pdf417 barcodes. Example: 1
    pdf417_truncateboolean
    Set whether the Pdf417 barcode is truncated to save space. Example: false
    postal_short_bar_heightinteger
    Set the short bar height of Postal barcodes. Example: 20
    quiet_zone_coefinteger
    Set the quiet zone coefficient as a mulitple of the X Dimension for ITF barcodes. Example: 10
    resolutioninteger
    Set the barcode code border image resolution (dpi) Example: 10
    rotationanglenumber
    Set the barcode rotation angle measure in degrees, for best results use 0, 90, 180 or 270. Example: 0
    rowsinteger
    Set the number of rows. Example: 10
    size_modestring
    Set the barcode auto sizing mode. One of: None, Nearest, Fixed, Interpolation. Example: Noneone of NoneNearestFixedInterpolation
    supplement_datastring
    Set the supplement data that follows the barcode. Example: example
    supplement_spaceinteger
    Set the space between the main barcode and supplement barcode. Example: 0
    wide_narrow_rationumber
    Set the ratio of wide bars to narrow bars (default 3 i.e. Wide bars are 3 times wider than narrow bars). Example: 3
    widthinteger
    Set the barcode width (pixels). Example: 12345
    x_dimensionnumber
    Set minimum width of the barcode bars (pixels). Example: 10
  • encodian_csv_parseParse a CSV file into JSON rows.Write

    Parse CSV

    Parse a CSV file into JSON rows. Returns csvData, HttpStatusCode, HttpStatusMessage, OperationId, Errors, OperationStatus. Returns the rows as JSON. Each call uses Encodian Flowr credits.

    Inputs

    file_contentstringrequired
    The source file's content, base64-encoded. Example: JVBERi0xLjcKJcfsj6IKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c+PgplbmRvYmoK
    file_namestringrequired
    Source file name including its extension (the extension tells Encodian the file type). Example: report.pdf
    csv_column_headersstring
    Manually set the column headers for the CSV data (Column delimited: Column 1, Column 2, etc. Example: example
    delimiterstring
    Set the CSV delimiter, the default value is a comma: ','. Example: ,
    encodingstring
    Set the character encoding used to process the CSV file. One of: ASCII, ISO88591, ISO88592, Latin1, UTF8. Example: ISO88591one of ASCIIISO88591ISO88592Latin1UTF8
    skip_first_lineboolean
    Skip the first line of the CSV file, set to 'Yes' if your CSV document contains column headers. Example: true
  • encodian_date_calculateAdd or subtract an interval of days, weeks, months or years from a date, optionally skipping given days.Write

    Calculate Date

    Add or subtract an interval of days, weeks, months or years from a date, optionally skipping given days. Returns result, httpStatusCode, httpStatusMessage, operationId, errors, operationStatus. Returns the new date. Each call uses Encodian Flowr credits.

    Inputs

    datestringrequired
    The date value to calculate. Example: 2026-03-01T09:00:00Z
    intervalintegerrequired
    Set amount of time to add or subtract from the 'Date' value provided. Example: 5
    measurementstringrequired
    Set the time measurement used for the calculation. One of: Ticks, Milliseconds, Seconds, Minutes, Hours, Days, Months, Years. Example: Daysone of TicksMillisecondsSecondsMinutesHoursDaysMonthsYears
    operationstringrequired
    Set the operation type, either add or subtract. One of: Add, Subtract. Example: Addone of AddSubtract
    dates_to_excludestring
    Specify the dates to be excluded from the calculation as a comma-delimited list, for example: 25/12/2024,26/12/2024. Example: []
    days_to_excludestring
    Specify the days to be excluded from the calculation as a comma-delimited list, for example: Saturday, Sunday. Example: []