Skip to main content
POST
Register the inbound NF-e issued for a return (Brazil)

Authorizations

Authorization
string
header
required

Token returned by POST /auth/token, sent as Authorization: Bearer <token>.

Path Parameters

return_id
integer
required

Numeric id of the return.

Body

application/json
invoices
object[]
required

Invoices to link to the return. Keys and identifiers must be unique within the request.

Minimum array length: 1
invoice_type
enum<string>
default:WEBMANIA

Fiscal provider the invoice was issued through. Only WEBMANIA is accepted today.

Available options:
WEBMANIA
Example:

"WEBMANIA"

Response

Invoices registered (or already present and re-synced).

new_invoice_ids
integer[]
required

Ids of the invoices created by this call; empty when every key was already registered.

Example:
update_invoice_ids
string

Only present when nothing was created. Comma-separated access keys of the already-registered invoices that were re-synced.

Example:

"00000000000000000000000000000000000000000000"