create_coupon
ChatGPTCreates a discount coupon for the connected Cobrify business: a code that the cashier types at the point of sale, or the customer in the online catalog, to get a percentage or a fixed amount off the whole sale. Optionally it expires on a date, has a maximum number of uses, or applies only to some product categories. Refuses a code that already exists.
create_customer
ChatGPTAdds a customer to the customer list of the connected Cobrify business, with their name and, optionally, a company RUC (11 digits), phone, email and address. If a customer with that RUC already exists, nothing is created and the existing customer is returned.
create_expense_category
ChatGPTCreates a new expense category in the connected Cobrify business, the same way Cobrify's expense category settings do, so that expenses can be recorded under it. Category names are unique, ignoring case and accents: if the business already has that category nothing changes, and one that had been archived is shown again instead of being duplicated. Returns the business's active expense categories.
create_product
ChatGPTCreates a new product or service in the catalog of the connected Cobrify business, with its name, selling price and, optionally, cost, code, category, unit, description, initial stock and minimum stock. It can also create it with its variants (size, color…): each variant has a value for each attribute, its own price and, optionally, its own code, barcode, cost and initial stock; the product's stock is the sum of its variants', and a product with variants always tracks stock. It can also give its other price levels (price2, price3, price4: per dozen, wholesale…), per variant when it has variants, and from how many units each one is charged by itself (quantity_pricing). Presentations, batches and serial numbers are added later in Cobrify. If no code is given and the business uses automatic codes, one is assigned; a variant without a code always gets one. A category that does not exist yet is created. It refuses to create a product whose name or code already exists, two variants with the same attribute values, and a variant code already in use. Prices and costs are in soles (PEN) and include IGV.
create_quotation
ChatGPTCreates a quotation (price quote) in the connected Cobrify business, numbered with the business's quotation series, the same way the Nueva Cotización screen does. Each line is an existing product, or a free-text line with a description and a price; the price is the product's list price unless unit_price is given, and prices include IGV. The customer can be given by RUC (the legal name is looked up in the SUNAT registry if they are not registered) or by name. It does not move stock, is not sent to SUNAT and does not register the customer. Amounts are in soles (PEN). It refuses products with variants. The quotation is later printed, sent or turned into a sale from Cobrify.
create_scheduled_promotion
ChatGPTCreates a scheduled promotion for the connected Cobrify business: a percentage off all products, some categories or some products, applied automatically on the chosen days and between the chosen hours (Peru time), at the point of sale, in the online catalog or both. Example: 20% off drinks from 17:00 to 19:00 on Tuesdays and Thursdays.
get_business_overview
ChatGPTReturns the profile of the connected Cobrify business: legal name, RUC, address, industry, default currency, active branches and warehouses, additional RUCs that invoice from the same account, the Cobrify subscription status and paid-until date, and the current date and time in Peru. Takes no parameters.
get_cash_register
ChatGPTReturns the cash register shifts of the business opened in a date range, newest first. A closed shift includes its closing count: sales by payment method, other cash in and cash out, the cash that was expected, the cash that was counted and the difference (negative means cash was missing), plus Yape and Plin when the shift used them. An open shift has no closing count yet: it includes its opening cash, who opened it and when, and the cash movements recorded so far; the expected cash of an open shift is not computed here. Dates are issue dates in Peru time (America/Lima), format YYYY-MM-DD, both ends inclusive. With no dates it covers the last 7 days.
get_expiring_products
ChatGPTReturns the product batches that are already expired or that expire within the given number of days, soonest first, with batch number, expiration date, days left, quantity in stock and warehouse. Only products that track expiration dates appear.
get_invoice
ChatGPTReturns one sales document in full by its number (series and correlative, e.g. "F001-123" or "B001-00000045"): customer, line items with quantities and prices, subtotal, IGV and total, payments received, balance, document status and SUNAT status. If the account invoices with several RUCs, every document with that number is returned.
get_online_catalog
ChatGPTReturns the state of the public online catalog (or digital menu, for restaurants) of the connected Cobrify business: whether it is on, its public link, tagline, welcome message, color, WhatsApp number, whether prices and out-of-stock products are shown, delivery and pickup, and how many products are visible in it. Takes no parameters.
get_profit_summary
ChatGPTReturns how much the business earned in a date range, the way Cobrify's general report computes it: sales, minus the cost of the goods sold (gross profit), minus the operating expenses recorded in the period (net profit, shown in Cobrify as "Ganancia Final"), with margins and the expenses broken down by category. The cost of each sold item is the cost stored on the day of the sale; items with no cost recorded count as zero and overstate the profit, so the result reports how many sale lines had no cost. It also returns a separate cash view (sales minus the purchases recorded in the period, minus expenses), which is not a margin. All amounts are in soles (PEN); documents in dollars are converted at the exchange rate stored in each document. Dates are issue dates in Peru time (America/Lima), format YYYY-MM-DD, both ends inclusive. With no dates it covers the last 30 days.
get_promotions
ChatGPTReturns the discount coupons (code, discount, uses, expiry, whether active) and the scheduled promotions (name, percentage, what it applies to, days and hours, whether active) of the connected Cobrify business. Takes no parameters.
get_receivables
ChatGPTReturns the accounts receivable of the business as of today: total owed and overdue amount per currency, the customers who owe the most, and the unpaid or partially paid documents from oldest to newest with their balance and days outstanding. Voided documents and converted sale notes are excluded. Amounts are never converted between currencies: soles (PEN) and dollars (USD) are reported separately.
get_sales_breakdown
ChatGPTReturns the sales of the business in a date range split by seller, by branch or by customer, ranked by amount sold, with the number of sales, average ticket and date of the last sale of each one. By seller, a sale counts for the seller chosen at the point of sale, or for the user account that issued it when no seller was chosen. By customer, it shows who bought the most and when each customer last bought. Only documents that count as sales are included. Dates are issue dates in Peru time (America/Lima), format YYYY-MM-DD, both ends inclusive. Amounts are never converted between currencies: soles (PEN) and dollars (USD) are reported separately. With no dates it covers the last 30 days.
get_sales_summary
ChatGPTReturns the sales of the business for a date range: total sold, number of sales, average ticket, amount collected and amount still pending collection, with a breakdown by document type (factura, boleta, nota_venta) and by payment method (cash, Yape, card, etc.), and optionally a series per day or per month. Voided documents, credit and debit notes, archived documents and sale notes already converted into an invoice are not counted as sales; they are reported separately as counts. Dates are issue dates in Peru time (America/Lima), format YYYY-MM-DD, both ends inclusive. Amounts are never converted between currencies: soles (PEN) and dollars (USD) are reported separately. With no dates it returns today. A range can span at most 366 days.
get_sunat_issues
ChatGPTReturns the electronic documents (facturas, boletas, credit and debit notes) that are not yet accepted by SUNAT, the Peruvian tax authority, in three groups: rejected, pending (signed or sent and still waiting for an answer) and not sent. Each document includes its number, date, days since it was issued, customer, total and the code and message SUNAT returned. Oldest first. Voided and archived documents are excluded. Takes no dates: it covers everything still unresolved.
get_top_products
ChatGPTReturns the best-selling products of the business in a date range, ranked by revenue or by quantity sold, with the quantity, revenue and number of sales of each one. Only documents that count as sales are included. Dates are issue dates in Peru time (America/Lima), format YYYY-MM-DD, both ends inclusive. Amounts are never converted between currencies: soles (PEN) and dollars (USD) are reported separately. With no dates it covers the last 30 days.
issue_dispatch_guide
ChatGPTIssues an electronic dispatch guide (guía de remisión remitente) in the connected Cobrify business, numbered with its guide series, and sends it to SUNAT when the business sends documents automatically, returning whether SUNAT accepted it. The goods come from one of the business's sales (from_document: a factura, boleta or sale note number, whose products and customer are copied) or from lines of existing products or free text. It needs the recipient (from the sale, by RUC, or a customer registered in Cobrify by name), where the goods go (address and district, or 6-digit ubigeo; for a RUC recipient with no destination given, their fiscal address in SUNAT is used), the transport (own vehicle with a driver saved in Cobrify and the plate, a car or motorcycle, or a public carrier by RUC) and the total weight unless the products have their weight set. The origin is the business's warehouse or address. Transfer reasons: 01 sale (default) or 13 other, with a description. It does not move stock. It refuses products tracked by batch or serial number.
issue_sale_document
ChatGPTIssues a sale document in the connected Cobrify business, the same way the point of sale does: a sale note (nota_venta, an internal document), a boleta or a factura (electronic documents sent to SUNAT). Each line is an existing product and a quantity; the price is the product's list price unless unit_price is given, and prices include IGV. It deducts the stock from the default warehouse of the main branch, records the sale as paid in full with one payment method, completes or registers the customer and, for boletas and facturas when the business sends them automatically, sends the document to SUNAT and returns whether SUNAT accepted it. A factura needs the customer's RUC; if the customer is not registered, their legal name is looked up in the SUNAT registry. A boleta over S/ 700 needs a customer with a RUC, or a customer already registered in Cobrify with their document, given by name. Amounts are in soles (PEN). It refuses what the point of sale would refuse (not enough stock, a document type the business does not issue, no documents left in the monthly plan) and products with variants, batches, serial numbers or required options. An issued document cannot be deleted; voiding it is done in Cobrify. Repeating the exact same request within 3 minutes returns the document already issued instead of issuing another one.
list_invoices
ChatGPTLists the sales documents issued by the business (facturas, boletas, sale notes, credit and debit notes), newest first, with number, date, customer, total, document status, SUNAT status and payment status. Can be filtered by date range, document type, customer and status. Dates are issue dates in Peru time (America/Lima), format YYYY-MM-DD, both ends inclusive. With no dates it covers the last 30 days. It does not include the line items of each document.
record_expense
ChatGPTRecords an operating expense of the connected Cobrify business (rent, salaries, utilities, transport and so on) with its amount in soles, description, category, date and payment method. Purchases of merchandise for resale are not expenses and are not recorded with this tool. The category must be one of the business's expense categories; if it is not recognised, nothing is recorded and the valid categories are returned.
register_purchase
ChatGPTRegisters a purchase of merchandise from a supplier in the connected Cobrify business, for example from a photo of the supplier's invoice: supplier, invoice number and date, and the lines with product, quantity and unit cost. It adds the quantities to the stock of the default warehouse, updates each product's cost as a weighted average, records the stock movements and, when paid today in cash, Yape or Plin, records the payment in the open cash session. Every line must be an existing product; a line whose product does not exist is refused. Unit costs include IGV unless costs_include_igv is false. If expected_total is given and the lines do not add up to it, nothing is registered. It refuses products with variants, batches, expiry dates or serial numbers, and a supplier invoice that is already registered. Amounts are in soles (PEN).
search_customers
ChatGPTSearches the customer list of the business by name, legal name, RUC or phone number and returns the contact details of each match: document type, phone, email and address. Personal document numbers come back masked. Requires at least 2 characters.
search_products
ChatGPTSearches the product catalog of the business by name, code, barcode or brand and returns price, cost (what the business pays per unit, when it is recorded), current stock, stock status (ok, low, out_of_stock or untracked), stock per warehouse and, for a product with variants (size, color…), each variant with its SKU, its name (its attribute values in the order of variantAttributes, e.g. "M / Rojo"), price and stock. The SKU or barcode of a variant also finds its product. Products and variants also show their other price levels (price2, price3, price4, named under priceLevels, e.g. "Por Docena") and, under quantityPricing, from how many units of the product each level is charged by itself. It can also list only the products that are low on stock or out of stock, most urgent first. Always includes inventory-wide counts of out-of-stock and low-stock products.
set_promotion_active
ChatGPTTurns a discount coupon or a scheduled promotion of the connected Cobrify business on or off. Give the coupon code, or the exact name of the scheduled promotion.
transfer_stock
ChatGPTMoves stock of products from one warehouse of the connected Cobrify business to another, the same way Inventario > Traslado masivo does: numbered TRANS-00001, with a stock movement out of the origin and one into the destination for each product. The total stock of each product does not change. Everything is transferred or nothing is: if the origin does not have enough of a product, nothing moves and the stock there is returned. It refuses products with variants, batches, expiry dates or serial numbers, and products that do not track stock. It does not issue a dispatch guide (issue_dispatch_guide does).
update_customer
ChatGPTChanges the contact details of an existing customer of the connected Cobrify business: name, phone, email or address. Only the fields that are given are changed; the previous values are overwritten. The document number cannot be changed. If the text matches more than one customer, nothing is changed and the matching customers are returned.
update_online_catalog
ChatGPTTurns the public online catalog (or digital menu) of the connected Cobrify business on or off, and changes its link name, tagline, welcome message, main color, WhatsApp number for orders, whether prices and out-of-stock products are shown, and whether delivery and pickup are offered. Only the fields that are given are changed. Returns the public link. Which products appear is a setting of each product (catalog_visible), not changed here. Images, theme and custom domain are changed in Cobrify.
update_product
ChatGPTChanges an existing product of the connected Cobrify business: its name, selling price, cost, category, minimum stock, description or visibility in the online catalog. It can also add variants (size, color…) to a product, with the same attributes as its other variants, each with its price and, optionally, its code, barcode, cost and initial stock, and change the price of some of its variants. It also changes the other price levels (price2, price3, price4), per variant on a product with variants, and from how many units each one is charged by itself (quantity_pricing). A product without variants becomes one with variants only if it has no stock and no batches, serial numbers, presentations or recipe. Only the fields that are given are changed; the previous values are overwritten. Price and cost changes are recorded in the product's price history. It does not change stock quantities (new variants only enter with their initial stock); on a product with variants the price is changed per variant, and the cost of a product with a recipe cannot be changed. If the text matches more than one product, nothing is changed and the matching products are returned.
void_sale_document
ChatGPTVoids a sale document of the connected Cobrify business, given its number (e.g. B001-00000005), the same way the Comprobantes screen does. A sale note, or a boleta or factura that SUNAT rejected, is voided in Cobrify. A boleta or factura accepted by SUNAT is voided in SUNAT (daily summary or communication of voided documents); SUNAT only allows it within 7 days of issue, after that a credit note is needed. When the void is confirmed, the stock that left with the sale is returned to the warehouse and sale notes the document came from are released; amounts collected in partial payments of a sale note are recorded as a refund in the open cash register. If SUNAT is still processing the void, the document stays "being voided" and Cobrify completes it later. It refuses credit and debit notes, documents invoiced in parts, and documents with products sold by variant, batch, serial number, options or recipe. A void cannot be undone.
create_coupon
Claudecreate_customer
Claudecreate_product
Claudecreate_quotation
Claudecreate_scheduled_promotion
Claudeget_business_overview
Claudeget_cash_register
Claudeget_expiring_products
Claudeget_invoice
Claudeget_online_catalog
Claudeget_profit_summary
Claudeget_promotions
Claudeget_receivables
Claudeget_sales_breakdown
Claudeget_sales_summary
Claudeget_sunat_issues
Claudeget_top_products
Claudeissue_dispatch_guide
Claudeissue_sale_document
Claudelist_invoices
Clauderecord_expense
Clauderegister_purchase
Claudesearch_customers
Claudesearch_products
Claudeset_promotion_active
Claudeupdate_customer
Claudeupdate_online_catalog
Claudeupdate_product
Claudevoid_sale_document
Claude