action envoice_estimation_api_all { label: "Return all estimation for the account" provider: envoice method: GET path: "/api/estimation/all" encoding: json input: { type: "object" properties: { "queryOptions.page": { type: "integer" format: "int32" } "queryOptions.pageSize": { type: "integer" format: "int32" } "x-auth-key": { type: "string" } "x-auth-secret": { type: "string" } } required: ["x-auth-key", "x-auth-secret"] additionalProperties: false } output: { type: "object" properties: { Count: { type: "integer" format: "int32" } ErrorMessages: { type: "array" items: { type: "object" properties: { Code: { type: "string" } FaultMessage: { type: "string" } Group: { type: "string" } UserVisibleMessage: { type: "string" } } } } IsFaulted: { type: "boolean" } Result: { type: "array" items: { type: "object" properties: { AccessToken: { type: "string" description: "Security access token used for accessing the estimation anonymously" } Client: { type: "object" properties: { AdditionalEmails: { type: "array" description: "Client additional emails contact for CC" items: { type: "object" properties: { Email: { type: "string" description: "CC" } } } } Address: { type: "string" description: "Client business address" } ClientCountryId: { type: "integer" format: "int32" description: "Indicates the country where the clients is from" } ClientCurrencyId: { type: "integer" format: "int32" description: "Indicates the default system currency used by the user for the client" } CompanyRegistrationNumber: { type: "string" description: "Client's Company Registration Number" } CreatedOn: { type: "string" format: "date-time" description: "Date of creation" } DefaultDueDateInDays: { type: "integer" format: "int32" description: "Client custom payment terms" } Email: { type: "string" description: "Client email" } Id: { type: "integer" format: "int32" description: "Entity id" } Name: { type: "string" description: "Name of the client" } PhoneNumber: { type: "string" description: "Client phone numer" } UiLanguageId: { type: "integer" format: "int32" description: "Hold a value of the language in which the invoice will be sent" } Vat: { type: "string" description: "Client's VAT number" } } } ClonedFromId: { type: "integer" format: "int32" description: "Indicate from which estimation this estimation has been cloned from" } Currency: { type: "object" properties: { Code: { type: "string" description: "Currency short numeric code" } Id: { type: "integer" format: "int32" description: "Entity id" } Name: { type: "string" description: "Name of the country" } Symbol: { type: "string" description: "Currency symbol" } Value: { type: "string" description: "Currency short alpha code" } } } DiscountAmount: { type: "number" format: "double" description: "Amount that goes as a discount" } ExpiresOn: { type: "string" format: "date-time" description: "Indicates when the estimation will be proclamed as due" } Id: { type: "integer" format: "int32" description: "Estimation id" } IssuedOn: { type: "string" format: "date-time" description: "Indicates when the estimation was issued" } Notes: { type: "string" description: "Internal note regarding the estimation" } Number: { type: "string" description: "Unique estimation number" } PoNumber: { type: "string" description: "Unique number generated by the buyer" } Status: { type: "string" description: "Indicate the status of the estimation (paid/unpaid/overdue)" enum: ["Draft", "Accepted", "Rejected"] } SubTotalAmount: { type: "number" format: "double" description: "Total amount of the estimation without tax" } TaxAmount: { type: "number" format: "double" description: "Amount that goes to the tax" } Terms: { type: "string" description: "Terms of agreement" } TotalAmount: { type: "number" format: "double" description: "Total amount of the estimation with tax" } } } } TotalCount: { type: "integer" format: "int32" } } } }