With your consent, we measure how people use our site and which campaigns bring them here, and identify visiting companies so our team can follow up. Privacy Policy

Tools and providers
  • Plausible · Analytics, only after Accept

    Counts visits and which campaigns bring them.

    Stores nothing on your device. The identifier it uses to count unique visitors changes every 24 hours.

  • Leadfeeder · Marketing, only after Accept

    Identifies the company you may be browsing from, so our sales team can follow up.

    Leadfeeder data is kept for 12 months in our Leadfeeder account. What it keeps on your device is listed below.

    _lfa, _lfa_expiry · Cookie and local storage
    A visitor ID. The cookie is kept for 1 year. The local storage copy is not used after 1 year and stays until you clear it. Withdrawing removes both.
    _lfa_consent · Cookie and local storage
    Records that you accepted. The cookie is kept for 1 year, the local storage copy until you clear it. Withdrawing removes both.
    ldfdr_opt_out, ldfdr_opt_out_expiry · Cookie and local storage
    Set when you withdraw after accepting, or your Accept runs out on an open page, so Leadfeeder stays off. The cookie is kept for 10 years, or until you close your browser if Leadfeeder never loaded. The local storage copy stays until you clear it. Accepting again removes both.
    _lfa_test_cookie_stored · Cookie
    Checks that your browser accepts cookies. Deleted straight away.
  • Outpost · Always, to remember your choice

    Keeps your choice, so we do not ask on every page.

    outpost-consent · Local storage
    Your choice, when you made it, the version of this notice and a random ID. We do not store the ID on our side. Your choice applies for 365 days, then we ask again. The entry stays on your device until you clear it or make a new choice.
    outpost-consent-declined · Cookie
    Records when you rejected, only if your browser cannot save your choice. Kept for 365 days.
Brazil

Collect payments in Brazil and stay tax-compliant

You want to sell into Brazil and have Outpost handle the whole flow end to end. Outpost collects as Merchant of Record - B2C via card through your existing PSP checkout, or B2B via bank transfer against a proforma - takes care of Brazilian tax, issues the NFS-e, and settles the net proceeds to you.

Modules used

PaymentsTaxesInvoicingReporting

How it fits together

  1. 1Payments - Collect on the card or wire rail. Card sales round-trip a taxCalculationId through your PSP - wire sales settle against a proforma.
  2. 2Taxes - Calculate Brazilian tax before each B2C charge (calculations). B2B buyer tax identity is supplied on the proforma. Outpost files and remits.
  3. 3Invoicing - Outpost issues the NFS-e and notifies you via e_invoice.issued. Retrieve the document and send it to the buyer - see the flows below for when that happens relative to payment.
  4. 4Reporting - Reconcile via the proceeds report (report.available), one row per taxable event keyed by taxCalculationId.

First-time payments

Two first-sale paths: B2C via card, or B2B via wire transfer.

B2C card sale

Each sale is keyed by a taxCalculationId. Pass it through the PSP as metadata so settlement and e-invoice events can correlate back to the order (webhooks carry it as externalRef).

  1. Call POST /tax/calculations with amount, CPF, full name, and address. Outpost returns the tax total plus taxCalculationId.
  2. Show the tax total to the customer at checkout.
  3. Customer pays through your PSP checkout, with taxCalculationId passed through as metadata.
  4. On payment.settled, grant access - do not wait for NFS-e issuance.
  5. On e_invoice.issued, retrieve the NFS-e (pre-signed S3 link) and send the receipt.

B2B wire transfer sale

Buyers pay against a proforma plus the NFS-e. The NFS-e carries the tax calculation, and the proforma carries payment details and line items. Issue both before the buyer pays, and grant access only after settlement.

  1. Create a proforma via POST /api/proforma-invoices with CNPJ, buyer tax regime, company's legal representative, and address.
  2. Outpost issues the NFS-e and emits e_invoice.issued. Retrieve the document.
  3. Send the proforma and the NFS-e to the buyer. The buyer pays Outpost locally in BRL.
  4. On proforma_invoice.settled, grant access.

Recurring payments

Recurring B2C card payment

You store the tokenized payment method ID from the PSP - Outpost does not hold the token. A renewal runs the same path as a first-time payment, with one difference: no interactive checkout. You charge the stored payment method directly through the PSP.

Outpost's role is identical to a first payment: compute tax and issue the fiscal document. Each renewal is a separate taxable event with its own taxCalculationId, mapping 1:1 to a settlement and an NFS-e.

  1. Renewal falls due on your schedule.
  2. Call POST /tax/calculations with amount, CPF, full name, and address (same request shape as the first payment).
  3. Charge the stored payment method through the PSP, passing the taxCalculationId through.
  4. On payment.settled, renew access. Tying access to NFS-e issuance would delay or block renewal if invoice generation is slow or fails.
  5. On e_invoice.issued, retrieve the NFS-e and send the receipt.

E-invoicing (NFS-e)

Issuing an e-invoice is required in Brazil when providing services. Outpost issues an NFS-e - the Brazilian fiscal document - and files it with the tax authorities.

B2B buyers pay against a proforma plus the NFS-e because the NFS-e includes the tax calculation and the proforma has payment details and line items.

Wait for NFS-e issuance

e_invoice.issued confirms issuance. Retrieve the document and send it to the buyer. On the wire rail, this happens before the buyer pays.

Wait for money settlement

A second webhook confirms settlement (payment.settled on card, proforma_invoice.settled on wire) - that is when you release the product. Outpost handles the tax filings. On the card rail, grant access on settlement and send the NFS-e when it arrives afterward.

Reporting

The proceeds report is available through report.available and the merchant portal. The webhook fires when a settlement period is finalized and includes a pre-signed S3 link. An optional periodic schedule can be agreed per merchant.

Format: one row per taxable event. Each row carries taxCalculationId so you can match it to your payment, plus the amount breakdown and the payout total it settled into. Module overview: Reporting.

Region notes

Brazil B2C flows key off CPF, and B2B flows key off CNPJ and buyer tax regime. Because Outpost collects and issues the invoice in this setup, the invoice is issued by Outpost's local entity, not yours.

Confirm Brazil is activated for your account before building - an unsupported or un-activated region surfaces as a region_not_supported or region_not_activated error at call time. Calculation request rules live under Taxes → Calculations.

API map

Schemas live in the API reference. Module pages explain when to call each surface.