cancel_invoice
ChatGPTUse this when the user explicitly asks to cancel one invoice by series and number. This tool does not delete invoices, cancel subscriptions, cancel payments, or reverse invoices already requiring storno/e-Factura handling.
check_invoice_archive_limits
ChatGPTUse this when the user asks whether an invoice PDF archive can be generated for a period, or before explaining archive limits. TipArhiva: 1 = issued invoices, 2 = supplier invoices. This tool does not create the archive.
create_invoice
ChatGPTCreate a new FGO sales document when the user explicitly requests it and provides or confirms the customer and line items. Supported document types include Factura, Proforma, Comanda, Oferta, Deviz, Aviz, and Bon casa, selected through tipFactura and the available document registers. The operation may create or update customer and product records, update stock, and queue automatic email or WhatsApp notifications according to FGO settings and permissions. It does not edit existing invoices. For standard VAT, omit continut[].cotaTVA so FGO uses the applicable default or existing product VAT rate; provide a rate only when explicitly requested by the user.
create_invoice_pdf_archive
ChatGPTUse this when the user asks for multiple invoice PDFs for a period, such as all issued invoices from June as PDFs. This creates an archive job only after checking archive limits. It returns arhivaRef; call get_invoice_archive_status before requesting a download URL.
download_invoice_pdf
ChatGPTUse this when the user asks to download, view, print manually, or get a PDF link for one issued invoice by series and number. Returns a short public download link (url) that serves the invoice PDF directly; show it to the user exactly as returned. This tool does not print to a physical printer, export multiple invoices, or handle supplier invoice PDFs.
get_bank_balances
ChatGPTUse this when the user asks how much money is available in the company's bank accounts, such as 'cati bani am in banca', 'sold bancar', or 'disponibil in banca'. Returns active, non-deleted account balances grouped by currency and detailed by account. This tool does not initiate payments, refresh open banking, or return partner balances.
get_company_anaf_position
ChatGPTUse this when the user asks for ANAF financial indicators, ranking, CAEN/judet comparison, turnover, or company position based on public ANAF data. This tool does not return a full internal accounting balance sheet.
get_current_account_info
ChatGPTUse this when the user asks to view account, user, role, language, access, or selected company details. This tool does not create accounts, change company profile data, or return passwords.
get_customer_outstanding_invoices
ChatGPTUse this when the user asks for unpaid/outstanding invoices for one specific customer and clientRef or the legacy idClient is known. Provide at least one of them. If the user gives only a name, CUI, email, or phone, call search_customers first. This tool does not send reminders, delete balances, or return totals for all customers.
get_efactura_status
ChatGPTUse this when the user asks whether one invoice reached ANAF/e-Factura/SPV, was accepted, rejected, or what its latest e-Factura status is. This tool does not submit, resubmit, cancel, or email invoices.
get_etigris_status
ChatGPTUse this when the user asks whether the eTigris (accountant platform) integration is connected, when the fiscal data was last imported, or when another eTigris tool reports missing data. Returns the local connection state and the last import run; it does not call eTigris, connect, or import anything.
get_filed_declarations
ChatGPTUse this when the user asks whether the tax declarations for a period were filed at ANAF, whether the receipts arrived, or which declarations the accountant uploaded in eTigris. Returns the declarations imported from eTigris for the reporting period with their ANAF submission status, submission date, upload index and receipt status. It does not file declarations, does not request receipts, and does not call eTigris live.
get_invoice_archive_download_url
ChatGPTUse this when an invoice PDF archive is ready and the user asks for the download link. Returns a temporary S3 presigned URL, valid for about 10 minutes. This tool does not create archives.
get_invoice_archive_status
ChatGPTUse this when the user provides arhivaRef or the legacy idArhiva (at least one is required) and asks whether the PDF archive is ready. This tool does not return the download URL; call get_invoice_archive_download_url only when EsteGata is true.
get_invoice_recurrence
ChatGPTUse this when the user asks whether an issued invoice is recurring, what its issuing frequency is, when the next automatic invoice will be issued, or before changing the recurrence with set_invoice_recurring. Returns the recurrence (automatic issuing schedule) linked to the invoice, or areRecurenta=false when none exists. It does not create, change or issue anything.
get_invoiced_sales_total
ChatGPTUse this when the user asks how much was invoiced/sold in a requested period. This tool returns invoiced sales totals, not cash receipts, VAT deduction, top customers, or unpaid invoice balances.
get_latest_trial_balance
ChatGPTUse this when the user asks what the latest available trial balance is, up to which month accounting data exists, or for indicators from that latest trial balance. This tool does not close accounting months or calculate live bank/cash balances.
get_monthly_sales
ChatGPTUse this when the user asks for month-by-month sales evolution or product sales trends. This tool does not modify stock or calculate product profit.
get_overdue_customers
ChatGPTUse this when the user asks for the list of customers with overdue unpaid invoices. This tool does not block customers, send notifications, or return the invoice list for one named customer.
get_partner_statement_link
ChatGPTGenereaza fisa partenerului pentru client si/sau furnizor si returneaza linkurile temporare S3. Foloseste pentru cereri precum fisa partener, fisa clientului, fisa furnizorului, situatie partener, facturi si incasari pe perioada. Pentru client foloseste aceeasi logica precum FGO UI: trimite clientRef (preferat) sau idClient si, cand sunt disponibile, codUnicPartener si denumirePartener. Daca ai doar CUI sau denumire, foloseste mai intai tool-ul search_customers.
get_pending_declarations
ChatGPTUse this when the user asks what declarations are still to be filed, what is due this month, or what filing deadlines are coming. Returns the eTigris filing calendar imported for the reference month, split into not yet filed and already filed declarations, with deadlines. The calendar is about filing declarations, not about paying taxes. It does not file anything and does not call eTigris live.
get_sales_purchases_aggregate
ChatGPTUse this when the user asks for sales versus purchases by item/product, margin-like item analysis, or products that sell/buy well. This tool does not export Excel files or email reports.
get_supplier_details
ChatGPTUse this when the user asks for the saved details of one specific supplier and the supplier ID is known. If the user gives only a name, CUI, email, or phone, call search_suppliers first. Returns human-readable identification, contact, address, tax status, and saved bank accounts. It does not return invoices or perform payments.
get_supplier_outstanding_invoices
ChatGPTUse this when the user asks for unpaid invoices or amounts owed to one specific supplier and the supplier ID is known. If the user gives only a name, CUI, email, or phone, call search_suppliers first. This tool does not pay suppliers or return totals for all suppliers.
get_tax_payment_orders
ChatGPTUse this when the user asks whether the payment orders (OP-uri) for taxes arrived from the accountant, what tax amounts must be paid for a period, or to which treasury IBAN. Returns the declarations imported from eTigris for the reporting period with the opSent flag and the declared amounts per obligation, plus the latest imported ANAF statement (fisa ROL) with amounts to pay and treasury IBANs. opSent means the accountant sent the payment orders, not that the tax was paid. This tool does not pay, does not generate payment orders, and does not call eTigris live.
get_top_suppliers_by_expense
ChatGPTUse this when the user asks for top suppliers by expenses, purchase value, supplier invoice value, or amount spent in a period. This tool does not return issued customer invoices or cash payments.
get_trial_balance
ChatGPTUse this when the user asks for trial balance accounting indicators for a specific year or for the current year. This tool does not export PDFs, close accounting months, or return cash receipts.
get_uncollected_invoices
ChatGPTUse this for uncollected customer invoices, including partial collections. Omit zileDepasireMinime unless overdue invoices are requested: 0 means overdue, N means at least N calendar days overdue. Without it, invoices not yet due or without a due date are included. The default issue-date period is the last 3 months; state the period in the answer and follow cursor pagination when needed. This tool does not mark invoices as paid and does not send reminders.
list_authorized_companies
ChatGPTLists the FGO companies authorized in the current AI access token. Use this when the user asks what companies the assistant can access.
list_invoiced_customers
ChatGPTUse this when the user asks which customers were invoiced in a period, with invoice counts and totals by currency. Without top it returns a paginated customer list. With top=N it returns top invoiced customers ranked by invoice total multiplied by exchange rate. This tool does not list individual invoices, unpaid invoices, or send reminders.
list_issued_invoices
ChatGPTUse this when the user asks to list, find, or filter issued customer invoices by period, customer, series, number, or CUI. This tool returns invoice records; it does not download PDFs, email invoices, mark invoices as paid, or submit invoices to ANAF.
list_supplier_invoices
ChatGPTUse this when the user asks to list, find, or filter supplier invoices / received invoices by period, supplier, document number, payment status, or currency. If no date filter is provided, the tool searches the last 30 days by received date. Each date interval is limited to 1 year. This tool returns supplier invoice records; it does not pay, accept, reject, or download supplier invoice files.
mark_invoice_as_paid
ChatGPTUse this when the user explicitly asks to mark one issued customer invoice as paid/collected and the invoice series and number are known. This tool creates the same rapid collection effect as FGO UI. It does not list unpaid invoices, pay supplier invoices, or cancel payments.
mark_invoice_as_unpaid
ChatGPTUse this when the user explicitly asks to mark one issued customer invoice as unpaid/uncollected and the invoice series and number are known. This tool does not delete existing collection documents; if collections exist, the backend rejects the operation.
reverse_invoice
ChatGPTUse this when the user explicitly asks to reverse/storno one existing invoice by series and number. This tool does not edit invoice values, delete invoices, issue refunds, or reverse multiple invoices.
search_customers
ChatGPTUse this when the user identifies a customer by name, CUI, email, phone, or partial address and another tool needs a customer reference. Requires at least one main criterion: clientRef, idClient, codUnic, denumire with at least 2 characters, email, or telefon with at least 3 digits. This tool searches existing customers; it does not create customers, return supplier data, or list overdue invoices.
search_partner_balance
ChatGPTUse this when the user asks to find a customer or supplier balance by name, CUI, email, phone, or address. This tool searches existing partner balances; it does not create partners or perform payments.
search_suppliers
ChatGPTUse this to list suppliers or search for a supplier by ID, name, CUI, email, phone, county, locality, or partial address. All search filters are optional; without filters, it returns the most recently added suppliers. If cursorUrmator is returned and the user asks for more or all results, call this tool again with that cursor and the same filters. This tool does not create suppliers, pay suppliers, or return customer data.
send_invoice_email
ChatGPTUse this when the user explicitly asks to send or resend one invoice by email and the invoice series and number are known. This tool does not send WhatsApp messages, payment reminders, bulk emails, or submit invoices to ANAF.
set_invoice_recurring
ChatGPTUse this only when the user explicitly asks to make an issued invoice recurring (automatic re-issuing with a frequency), to change the frequency of its recurrence, or to stop/resume it, and the invoice series and number are known. Confirm the invoice and the frequency with the user before calling it. If the invoice has no recurrence, FGO creates one from the invoice (same customer, lines, prices, currency and document type) and schedules the next issue date from the invoice date; if a recurrence already exists, only its frequency and active state are updated. Stopping (activa=false) keeps the current frequency; to change the frequency the recurrence must be active. The recurrence then issues documents automatically on the scheduled dates. This tool does not issue an invoice now, does not edit the invoice, and does not change the recurrence lines or prices.
submit_efactura_xml_to_anaf
ChatGPTUse this when the user explicitly asks to submit one existing invoice to ANAF/e-Factura/SPV and the invoice series and number are known. This tool does not check e-Factura status, email invoices, create invoices, submit multiple invoices, or cancel an ANAF submission.
cancel_invoice
Claudecreate_invoice
Claudedownload_invoice_pdf
Claudeget_company_anaf_position
Claudeget_current_account_info
Claudeget_customer_outstanding_invoices
Claudeget_efactura_status
Claudeget_invoiced_sales_total
Claudeget_latest_trial_balance
Claudeget_monthly_sales
Claudeget_overdue_customers
Claudeget_partner_statement_link
Claudeget_sales_purchases_aggregate
Claudeget_supplier_outstanding_invoices
Claudeget_top_invoiced_customers
Claudeget_trial_balance
Claudeget_uncollected_invoices
Claudelist_invoiced_customers
Claudelist_issued_invoices
Claudereverse_invoice
Claudesearch_customers
Claudesearch_partner_balance
Claudesearch_suppliers
Claudesend_invoice_email
Claudesubmit_efactura_xml_to_anaf
Claude