Skip to content

São Bernardo do Campo Debts Scraper

Try for free

Look up municipal debts in São Bernardo do Campo (SP, Brazil) by Inscrição Mobiliária + CNPJ/CPF or by CNPJ/CPF alone: one row per installment with debt type, lançamento, due date, amounts, barcode and the boleto PDF. No login.

🧾 São Bernardo do Campo Debts Scraper

Look up the municipal debts (débitos) of a company or person in São Bernardo do Campo (SP, Brazil) on the city's public debt lookup (saobernardo.sp.gov.br/consultar-debitos) and get them as one clean table: one row per installment (parcela) with the debt type (MULTA, ISS, ISSQN, IPTU, ...), lançamento, due date, amounts, the boleto's barcode (linha digitável) and a link to the boleto PDF. Search by Inscrição Mobiliária + CNPJ/CPF ("Débitos de empresa / comércio / negócio") or by CNPJ/CPF alone. No login needed.

✨ Why use São Bernardo do Campo Debts Scraper?

  • 🧾 Every installment in one table — the site shows one debt and one installment at a time; the Actor opens each debt's details and 2ª via pages for you.
  • 🖨️ Boleto included — for every open installment the Actor emits the 2ª via boleto, returns its barcode and saves the PDF with a link you can open or share for 30 days. Each emission creates a real boleto at the city for that taxpayer; set includeBoleto to off to read installments without emitting.
  • 🎯 Filters that match the site — keep only MULTA (or ISS, IPTU, ...), only some installments (parcelas) or some lançamentos.
  • 🔢 Numbers ready for analysis — amounts as numbers in BRL, dates in ISO format, situação codes with their meaning.

🎯 Use cases

  • 🏢 Accounting offices — check a client's open fines and taxes and get the boletos without filling the form by hand.
  • 📋 Compliance and due diligence — see what a company owes the city, with the values valid for today.
  • 🔁 Monitoring — run it on a schedule and get new debts or changed amounts as rows.

🚀 How to use

  1. Enter the Document (CNPJ or CPF) of the company or owner.
  2. Optionally enter the Inscrição Mobiliária (up to 6 digits, without the check digit) to look up as "Débitos de empresa / comércio / negócio". Leave it empty to look up every debt of the document.
  3. Optionally narrow it down with Debt types (for example MULTA), Installments (for example 1) or Lançamentos.
  4. Click Start and download the results as JSON, CSV, Excel or HTML, or read them through the API. Each row's boleto_pdf_url opens the boleto.

📥 Input

FieldWhat it does
documentCNPJ (14 digits) or CPF (11 digits), with or without punctuation. Required.
inscricaoMobiliariaInscrição Mobiliária (up to 6 digits, no check digit). Filled: company lookup for this inscrição and document. Empty: lookup by document only.
debtTypesKeep only these debt types (MULTA, ISS, ISSQN, IPTU, TCFA, ...). Empty = all.
installmentsKeep only these installment numbers (1, 13, ...). Empty = all.
lancamentosKeep only these lançamentos (704/24-3455168 or 704243455168). Empty = all.
includeBoletoEmit the boleto (barcode + PDF) of every open installment. Default on. Each emission creates a real boleto on the city's system for that taxpayer. Off: installments are returned without emitting anything (no barcode or PDF, boleto_emission says skipped).
onlyOpenLeave out installments that show a payment date. Default on.
proxyConfigurationProxy settings; the default residential proxy in Brazil works for the lookup.
{
  "document": "12.345.678/0001-90",
  "inscricaoMobiliaria": "123456",
  "debtTypes": ["MULTA"],
  "installments": ["1"]
}

📤 Output

One row per installment of each debt (lançamento), in the order the lookup lists the debts.

FieldDescription
query_typeempresa (Inscrição Mobiliária + document) or documento (CPF/CNPJ only)
inscricao_mobiliaria, document, document_typeThe lookup's input (CNPJ or CPF)
debt_typeTipo as the lookup shows it (MULTA, ISS, ISSQN, IPTU, ...)
status_code, statusSituação code and its meaning (for example R, R: Com Recurso); empty when the debt has none
lancamento, lancamento_numberLançamento as shown (704/24-3455168) and digits only
incidenceIncidência: the year or month of the debt
originInscrição Mobiliária / Origem column (company inscrição, property inscrição or Por Nome)
term, processTermo and Processo Exec/Ordem, when the debt has them
debt_original_value, debt_current_valueValor Original and Valor Atual of the whole debt (BRL)
installment, installments_totalInstallment (parcela) number and how many the debt has
single_payment, installment_labeltrue for the IPTU cota única (one boleto for the whole debt, installment 0); the installment as the 2ª via list names it
original_due_date, due_dateVencimento original and the details page's Data Vencimento (YYYY-MM-DD)
payment_dateData Pagamento, when the installment was paid
installment_valueValor Lançado of the installment (BRL); for a MULTA this is the fine amount
installment_current_valueValor Atualizado: the amount due on values_valid_on (BRL); for the cota única, the boleto's amount
opentrue when the site offers a boleto for the installment
barcodeCódigo de barras / linha digitável of the emitted boleto
boleto_pdf_urlLink to the boleto PDF saved with the run (opens without a token for 30 days)
boleto_emissionemitted, failed, or skipped: includeBoleto is off for an open installment when emission is off; empty for installments without a boleto
boleto_errorWhy an open installment has no boleto, if that happens
values_valid_onThe date the site says the values are valid for
query_total_dueTotal atualizado a pagar of the whole lookup, before the Actor's filters (BRL)
details_url, source_url, scraped_atThe lançamento's details page, the city's lookup page and the scrape time (UTC)

Example row:

{
  "query_type": "documento",
  "document": "59104273000129",
  "document_type": "CNPJ",
  "debt_type": "MULTA",
  "status_code": "R",
  "status": "R: Com Recurso",
  "lancamento": "704/24-3455168",
  "lancamento_number": "704243455168",
  "incidence": "2024",
  "origin": "Por Nome",
  "debt_original_value": 773.64,
  "debt_current_value": 1077.65,
  "installment": 1,
  "single_payment": false,
  "installment_label": "01 - Vencto original 28/01/2025",
  "installments_total": 1,
  "original_due_date": "2025-01-28",
  "due_date": "2025-01-28",
  "installment_value": 773.64,
  "installment_current_value": 841.26,
  "open": true,
  "barcode": "23790.10909 90524.042141 93008.836509 1 16430000084126",
  "boleto_pdf_url": "https://api.scrape.ly/v2/key-value-stores/<store>/records/boleto-704243455168-01.pdf?signature=<signature>&attachment=1",
  "values_valid_on": "2026-11-26"
}

❓ FAQ

Do I need a login? No. The lookup is public: the Inscrição Mobiliária and the CNPJ/CPF are all it asks for.

Where do I find the Inscrição Mobiliária? On the company's municipal registration (Cadastro Mobiliário) or on an earlier boleto or ISS document from São Bernardo do Campo. Without it, leave the field empty: the lookup by CNPJ/CPF lists the company's debts too, together with IPTU of properties in its name.

Which values do I get? The values the site shows for the day of the run (values_valid_on). Boletos emitted after 21h on working days, or on weekends and holidays, are computed by the city for the next working day, as the site notes. Notary costs and attorney fees of protested or executed debts are not included, also as the site notes.

What about IPTU cota única? When the 2ª via page offers a single payment for the whole year (UNICA), it comes back as its own row with single_payment true and installment 0, with its boleto and amount (when boletos are on). An installment filter leaves it out.

What does a run with no rows mean? The lookup found no open debts for that document (or none matching your filters); the status message says which. A wrong Inscrição Mobiliária / document pair ends with the site's own message ("O CPF/CNPJ informado não confere com a Inscrição Mobiliária informada").

How long does a run take? Usually under a minute for one company; a document with many debts and boletos takes a few minutes.

⚠️ Limits

  • Data comes from the city's public debt lookup and covers only the debts it shows; debts in other systems (for example the state or federal ones) are not included.
  • The lookup answers visitors in Brazil only. The Actor uses a residential proxy in Brazil and, when that route is not available, reads the same pages in a hosted browser with Brazilian exits.
  • Boleto PDF links stay valid for 30 days; download the PDF if you need it longer.
//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.