# New Estimate Defaults Returns the defaults and choices needed to build a new estimate of the given type (due-date options, exemption reasons, issuable sequences, currencies, retention options, default remarks, taxes). Nothing is created. When client_id is sent, the client's payment days, exemption code, currency and observations take priority over the account's. Endpoint: GET /api/v3/{estimate_type}/new Version: 3.1.0 Security: apiKeyAuth ## Path parameters: - `estimate_type` (string, required) Type of estimate document (quotes, proformas, fees_notes). Enum: "quotes", "proformas", "fees_notes" ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" - `client_id` (integer) Id of a client of the account, used to pre-select client-specific defaults and return a short client object. ## Response 200 fields (application/json): - `due_date_choices` (array) Due-date options in days. The one matching the client's (or else the account's) payment days is flagged selected; a value not in the list replaces the last ("Other") entry. Example: [{"value":0,"description":"Immediately"},{"value":15,"description":"15 days"},{"value":30,"description":"30 days","selected":true},{"value":"custom","description":"Other"}] - `due_date_choices.value` (any) Days, or "custom" for the Other entry. - `due_date_choices.description` (string) - `due_date_choices.selected` (boolean) - `exemption_reasons` (array) VAT exemption reasons; the client's (or account's) code is flagged selected. - `exemption_reasons.code` (string) Example: "M07" - `exemption_reasons.reason` (string) - `sequences` (array) Sequences of this estimate type available for issuing (only AT-registered ones for Portuguese accounts). The account's current serie is flagged selected. When there are none, a single disabled placeholder entry with id null is returned ("Choose a registered Sequence", or "Choose a Sequence" for foreign accounts). - `sequences.id` (integer,null) Example: 5259462 - `sequences.serie` (string) Example: "2026" - `sequences.disabled` (boolean) - `currencies` (array) Available currencies; the client's currency is flagged selected. - `currencies.name` (string) Example: "Euro" - `currencies.symbol` (string) Example: "€" - `retention` (array) Withholding-tax options. The first entry ("Not applicable") has id and value null. Example: [{"id":null,"value":null,"description":"Not applicable"}] - `retention.value` (number,null) - `remarks` (string) Default observations (client's, else account's) followed by the exemption reason text, if any. - `include_payment_reference` (boolean,null) Null unless the plan has MB references, a payment provider is configured and the type supports payment references; then the account's estimate setting. - `has_configured_payment_service` (boolean) - `auto_send_invoice_from_estimate` (boolean) - `taxes` (array) - `taxes.region` (string,null) Example: "PT" - `taxes.default_tax` (integer) Enum: 0, 1 - `client` (object) Present only when a known client_id query parameter is sent. - `client.fiscal_id` (string,null) - `client.address` (string,null) - `client.postal_code` (string,null) - `client.city` (string,null) - `client.country` (string,null) ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string) ## Response 422 fields (application/json): - `errors` (array) - `errors.error` (string) Example: "Date can't be blank" ## Response 500 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string)