{ "swagger" : "2.0", "info" : { "description" : null, "version" : "1.0.0", "title" : null, "termsOfService" : null, "contact" : null, "license" : null }, "host" : "api-na.hosted.exlibrisgroup.com", "basePath" : "/almaws/v1/acq/invoices", "schemes" : [ "https" ], "paths" : { "/{invoice_id}?op=paid&apikey=l8xx69d69988667a43d49145441d50d19f8d" : { "post" : { "tags" : [ "post-alma-invoice-notes-swagger-V2" ], "summary" : null, "description" : null, "operationId" : "post-alma-invoice-notes-swagger-V2", "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "body", "in" : "body", "description" : null, "required" : false, "schema" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2_Request##body" } }, { "name" : "invoice_id", "in" : "path", "description" : null, "required" : false, "type" : "string" } ], "responses" : { "200" : { "description" : "successful operation", "schema" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2" } } } } } }, "definitions" : { "post-alma-invoice-notes-swagger-V2##vendor" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##currency" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##owner" : { "properties" : { "value" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##payment##payment_status" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##payment##voucher_currency" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##payment" : { "properties" : { "prepaid" : { "type" : "boolean" }, "internal_copy" : { "type" : "boolean" }, "payment_status" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment##payment_status" }, "voucher_date" : { "type" : "string" }, "voucher_number" : { "type" : "string" }, "voucher_amount" : { "type" : "string" }, "voucher_currency" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment##voucher_currency" } } }, "post-alma-invoice-notes-swagger-V2##payment_method" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##creation_form" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##invoice_status" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##invoice_approval_status" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##additional_charges" : { "properties" : { "shipment" : { "type" : "number", "format" : "double" }, "overhead" : { "type" : "number", "format" : "double" }, "insurance" : { "type" : "number", "format" : "double" }, "discount" : { "type" : "number", "format" : "double" }, "use_pro_rata" : { "type" : "boolean" } } }, "post-alma-invoice-notes-swagger-V2##invoice_vat##type" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##invoice_vat##vat_code" : { "properties" : { "value" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##invoice_vat" : { "properties" : { "percentage" : { "type" : "number", "format" : "double" }, "type" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_vat##type" }, "report_tax" : { "type" : "boolean" }, "vat_per_invoice_line" : { "type" : "boolean" }, "vat_code" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_vat##vat_code" }, "vat_amount" : { "type" : "number", "format" : "int32" }, "expended_from_fund" : { "type" : "boolean" } } }, "post-alma-invoice-notes-swagger-V2##alert" : { "properties" : { "value" : { "type" : "string" }, "desc" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##note" : { "properties" : { "content" : { "type" : "string" }, "creation_date" : { "type" : "string" }, "created_by" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2##number_of_lines" : { "properties" : { "value" : { "type" : "number", "format" : "int32" }, "link" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2" : { "properties" : { "id" : { "type" : "string" }, "number" : { "type" : "string" }, "vendor" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##vendor" }, "currency" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##currency" }, "owner" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##owner" }, "payment" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment" }, "invoice_date" : { "type" : "string" }, "vendor_account" : { "type" : "string" }, "total_amount" : { "type" : "number", "format" : "double" }, "total_invoice_lines_amount" : { "type" : "number", "format" : "double" }, "vendor_contact_person" : { "type" : "string" }, "payment_method" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##payment_method" }, "reference_number" : { "type" : "string" }, "creation_form" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##creation_form" }, "invoice_status" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_status" }, "invoice_workflow_status" : { "type" : "string" }, "invoice_approval_status" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_approval_status" }, "approved_by" : { "type" : "string" }, "approval_date" : { "type" : "string" }, "additional_charges" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##additional_charges" }, "invoice_vat" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##invoice_vat" }, "explicit_ratio" : { "type" : "string" }, "alert" : { "type" : "array", "items" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##alert" } }, "note" : { "type" : "array", "items" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##note" } }, "number_of_lines" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2##number_of_lines" }, "link" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2_Request##body##note" : { "properties" : { "content" : { "type" : "string" }, "creation_date" : { "type" : "string" }, "created_by" : { "type" : "string" } } }, "post-alma-invoice-notes-swagger-V2_Request##body" : { "properties" : { "note" : { "type" : "array", "items" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2_Request##body##note" } } } }, "post-alma-invoice-notes-swagger-V2_Request" : { "properties" : { "body" : { "$ref" : "#/definitions/post-alma-invoice-notes-swagger-V2_Request##body" } } } } }