action billingo_create_document_from_proforma { label: "Create a document from proforma." description: "Create a new document from proforma. Returns a document object if the create is succeded." provider: billingo method: POST path: "/documents/{id}/create-from-proforma" encoding: json input: { type: "object" properties: { id: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "Document object representing your invoice." properties: { block_id: { type: "integer" description: "DocumentBlock's identifier." } cancelled: { type: "boolean" } comment: { type: "string" } conversion_rate: { type: "number" format: "float" } currency: { type: "string" enum: ["AUD", "BGN", "BRL", "CAD", "CHF", "CNY", "CZK", "DKK", "EUR", "GBP", "HKD", "HRK", "HUF", "IDR", "ILS", "INR", "ISK", "JPY", "KRW", "LTL", "LVL", "MXN", "MYR", "NOK", "NZD", "PHP", "PLN", "RON", "RSD", "RUB", "SEK", "SGD", "THB", "TRY", "UAH", "USD", "ZAR"] } due_date: { type: "string" format: "date" } electronic: { type: "boolean" } fulfillment_date: { type: "string" format: "date" } gross_total: { type: "number" format: "float" description: "The document's gross total price." } id: { type: "integer" description: "The document's unique identifier." } invoice_date: { type: "string" format: "date" } invoice_number: { type: "string" description: "The document's invoice number." } items: { type: "array" items: { type: "object" properties: { gross_amount: { type: "number" format: "float" } name: { type: "string" } net_amount: { type: "number" format: "float" } net_unit_amount: { type: "number" format: "float" } product_id: { type: "integer" } quantity: { type: "number" format: "float" } vat: { type: "string" enum: ["0%", "1%", "10%", "11%", "12%", "13%", "14%", "15%", "16%", "17%", "18%", "19%", "2%", "20%", "21%", "22%", "23%", "24%", "25%", "26%", "27%", "3%", "4%", "5%", "6%", "7%", "8%", "9%", "AAM", "AM", "EU", "EUK", "F.AFA", "FAD", "K.AFA", "MAA", "TAM", "ÁKK", "ÁTHK"] } vat_amount: { type: "number" format: "float" } } } } language: { type: "string" enum: ["de", "en", "fr", "hr", "hu", "it", "ro", "sk"] } notification_status: { type: "string" enum: ["closed", "downloaded", "failed", "none", "opened", "readed"] } organization: { type: "object" properties: { address: { type: "object" required: ["address", "city", "country_code", "post_code"] properties: { address: { type: "string" } city: { type: "string" } country_code: { type: "string" enum: ["", "AC", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DG", "DJ", "DK", "DM", "DO", "DZ", "EA", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HN", "HR", "HT", "HU", "IC", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TA", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XA", "XB", "XK", "YE", "YT", "ZA", "ZM", "ZW"] } post_code: { type: "string" } } } bank_account: { type: "object" required: ["account_number", "name"] properties: { account_number: { type: "string" } account_number_iban: { type: "string" } id: { type: "integer" } name: { type: "string" } swift: { type: "string" } } } cash_settled: { type: "boolean" } eu_tax_number: { type: "string" } ev_number: { type: "string" } name: { type: "string" } small_taxpayer: { type: "boolean" } tax_number: { type: "string" } } } paid_date: { type: "string" format: "date" } partner: { type: "object" } payment_method: { type: "string" enum: ["aruhitel", "bankcard", "barion", "barter", "cash", "cash_on_delivery", "coupon", "elore_utalas", "ep_kartya", "kompenzacio", "levonas", "online_bankcard", "payoneer", "paypal", "paypal_utolag", "payu", "pick_pack_pont", "postai_csekk", "postautalvany", "skrill", "szep_card", "transferwise", "upwork", "utalvany", "valto", "wire_transfer"] } payment_status: { type: "string" enum: ["expired", "none", "outstanding", "paid", "partially_paid"] } settings: { type: "object" properties: { mediated_service: { type: "boolean" } online_payment: { type: "string" enum: ["", "Barion", "SimplePay", "no"] } place_id: { type: "integer" } round: { type: "string" enum: ["five", "none", "one", "ten"] } without_financial_fulfillment: { type: "boolean" } } } summary: { type: "object" properties: { gross_amount_local: { type: "number" format: "float" } net_amount: { type: "number" format: "float" } net_amount_local: { type: "number" format: "float" } vat_amount: { type: "number" format: "float" } vat_amount_local: { type: "number" format: "float" } vat_rate_summary: { type: "array" items: { type: "object" properties: { vat_name: { type: "string" } vat_percentage: { type: "number" format: "float" } vat_rate_gross_amount: { type: "number" format: "float" } vat_rate_net_amount: { type: "number" format: "float" } vat_rate_vat_amount: { type: "number" format: "float" } vat_rate_vat_amount_local: { type: "number" format: "float" } } } } } } tags: { type: "array" items: { type: "string" } } type: { type: "string" enum: ["advance", "canceled", "cancellation", "draft", "invoice", "proforma"] } } } }