OAuth token endpoint
Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.biterp.ai/oauth/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d ''{
"access_token": "string",
"token_type": "Bearer",
"expires_in": 0,
"refresh_token": "string",
"scope": "string"
}Update invoice
Only provided fields are changed. Field editability depends on invoice state: queued for fiscal transmission rejects every field; issued (transmitted) accepts only internal_notes and metadata; for Brazilian tenants, a finalized invoice without an invoices_br_data row is treated the same as issued (only internal_notes and metadata); an invoice originated from a sales order additionally rejects product_type, salesperson_name, fiscal_notes, discount_amount, discount_rate, and structural line item changes - fiscal fields (taxes, br_data, us_data) stay editable pre-transmission regardless of sales-order origin.
Alocar transacao em conta a pagar
Next Page

