From a6a82d271b98be048df45d5cfc428170aad76c1a Mon Sep 17 00:00:00 2001
From: Harsha Gummadavelli <hvardhan@wisc.edu>
Date: Mon, 5 Feb 2024 08:39:25 -0600
Subject: [PATCH] Update 4 files

- /ASP-IICS-Team/Alma/post-alma-invoice_swagger.json
- /ASP-IICS-Team/Alma/post-alma-invoice-notes-swagger-V2.json
- /ASP-IICS-Team/Alma/post-alma-invoice-notes.json
- /ASP-IICS-Team/Alma/post-alma-invoices_swagger_V2.json
---
 .../post-alma-invoice-notes-swagger-V2.json   | 384 ++++++++++++++++++
 .../Alma/post-alma-invoice-notes.json         | 378 +++++++++++++++++
 .../Alma/post-alma-invoice_swagger.json       | 358 ++++++++++++++++
 .../Alma/post-alma-invoices_swagger_V2.json   | 361 ++++++++++++++++
 4 files changed, 1481 insertions(+)
 create mode 100644 ASP-IICS-Team/Alma/post-alma-invoice-notes-swagger-V2.json
 create mode 100644 ASP-IICS-Team/Alma/post-alma-invoice-notes.json
 create mode 100644 ASP-IICS-Team/Alma/post-alma-invoice_swagger.json
 create mode 100644 ASP-IICS-Team/Alma/post-alma-invoices_swagger_V2.json

diff --git a/ASP-IICS-Team/Alma/post-alma-invoice-notes-swagger-V2.json b/ASP-IICS-Team/Alma/post-alma-invoice-notes-swagger-V2.json
new file mode 100644
index 0000000..3feca23
--- /dev/null
+++ b/ASP-IICS-Team/Alma/post-alma-invoice-notes-swagger-V2.json
@@ -0,0 +1,384 @@
+{
+  "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"
+        }
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/ASP-IICS-Team/Alma/post-alma-invoice-notes.json b/ASP-IICS-Team/Alma/post-alma-invoice-notes.json
new file mode 100644
index 0000000..37d03e4
--- /dev/null
+++ b/ASP-IICS-Team/Alma/post-alma-invoice-notes.json
@@ -0,0 +1,378 @@
+{
+  "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" ],
+        "summary" : null,
+        "description" : null,
+        "operationId" : "post-alma-invoice-notes",
+        "produces" : [ "application/json" ],
+        "consumes" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "body",
+          "in" : "body",
+          "description" : null,
+          "required" : false,
+          "schema" : {
+            "$ref" : "#/definitions/post-alma-invoice-notes_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"
+            }
+          }
+        }
+      }
+    }
+  },
+  "definitions" : {
+    "post-alma-invoice-notes##vendor" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##currency" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##owner" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##payment##payment_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##payment##voucher_currency" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##payment" : {
+      "properties" : {
+        "prepaid" : {
+          "type" : "boolean"
+        },
+        "internal_copy" : {
+          "type" : "boolean"
+        },
+        "payment_status" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##payment##payment_status"
+        },
+        "voucher_date" : {
+          "type" : "string"
+        },
+        "voucher_number" : {
+          "type" : "string"
+        },
+        "voucher_amount" : {
+          "type" : "string"
+        },
+        "voucher_currency" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##payment##voucher_currency"
+        }
+      }
+    },
+    "post-alma-invoice-notes##payment_method" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##creation_form" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##invoice_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##invoice_approval_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##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##invoice_vat##type" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##invoice_vat##vat_code" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##invoice_vat" : {
+      "properties" : {
+        "percentage" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "type" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##invoice_vat##type"
+        },
+        "report_tax" : {
+          "type" : "boolean"
+        },
+        "vat_per_invoice_line" : {
+          "type" : "boolean"
+        },
+        "vat_code" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##invoice_vat##vat_code"
+        },
+        "vat_amount" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "expended_from_fund" : {
+          "type" : "boolean"
+        }
+      }
+    },
+    "post-alma-invoice-notes##alert" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##note" : {
+      "properties" : {
+        "content" : {
+          "type" : "string"
+        },
+        "creation_date" : {
+          "type" : "string"
+        },
+        "created_by" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes##number_of_lines" : {
+      "properties" : {
+        "value" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "link" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes" : {
+      "properties" : {
+        "id" : {
+          "type" : "string"
+        },
+        "number" : {
+          "type" : "string"
+        },
+        "vendor" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##vendor"
+        },
+        "currency" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##currency"
+        },
+        "owner" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##owner"
+        },
+        "payment" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##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##payment_method"
+        },
+        "reference_number" : {
+          "type" : "string"
+        },
+        "creation_form" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##creation_form"
+        },
+        "invoice_status" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##invoice_status"
+        },
+        "invoice_workflow_status" : {
+          "type" : "string"
+        },
+        "invoice_approval_status" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##invoice_approval_status"
+        },
+        "approved_by" : {
+          "type" : "string"
+        },
+        "approval_date" : {
+          "type" : "string"
+        },
+        "additional_charges" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##additional_charges"
+        },
+        "invoice_vat" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##invoice_vat"
+        },
+        "explicit_ratio" : {
+          "type" : "string"
+        },
+        "alert" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/post-alma-invoice-notes##alert"
+          }
+        },
+        "note" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/post-alma-invoice-notes##note"
+          }
+        },
+        "number_of_lines" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes##number_of_lines"
+        },
+        "link" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes_Request##body##note" : {
+      "properties" : {
+        "content" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice-notes_Request##body" : {
+      "properties" : {
+        "note" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/post-alma-invoice-notes_Request##body##note"
+          }
+        }
+      }
+    },
+    "post-alma-invoice-notes_Request" : {
+      "properties" : {
+        "body" : {
+          "$ref" : "#/definitions/post-alma-invoice-notes_Request##body"
+        }
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/ASP-IICS-Team/Alma/post-alma-invoice_swagger.json b/ASP-IICS-Team/Alma/post-alma-invoice_swagger.json
new file mode 100644
index 0000000..38c72a8
--- /dev/null
+++ b/ASP-IICS-Team/Alma/post-alma-invoice_swagger.json
@@ -0,0 +1,358 @@
+{
+  "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}" : {
+      "post" : {
+        "tags" : [ "post-alma-invoice" ],
+        "summary" : null,
+        "description" : null,
+        "operationId" : "post-alma-invoice",
+        "produces" : [ "application/json" ],
+        "consumes" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "op",
+          "in" : "query",
+          "description" : null,
+          "required" : false,
+          "type" : "string"
+        }, {
+          "name" : "apikey",
+          "in" : "query",
+          "description" : null,
+          "required" : false,
+          "type" : "string"
+        }, {
+          "name" : "invoice_id",
+          "in" : "path",
+          "description" : null,
+          "required" : false,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "successful operation",
+            "schema" : {
+              "$ref" : "#/definitions/post-alma-invoice"
+            }
+          }
+        }
+      }
+    }
+  },
+  "definitions" : {
+    "post-alma-invoice##vendor" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##currency" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##owner" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##payment##payment_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##payment##voucher_currency" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##payment" : {
+      "properties" : {
+        "prepaid" : {
+          "type" : "boolean"
+        },
+        "internal_copy" : {
+          "type" : "boolean"
+        },
+        "payment_status" : {
+          "$ref" : "#/definitions/post-alma-invoice##payment##payment_status"
+        },
+        "voucher_date" : {
+          "type" : "string"
+        },
+        "voucher_number" : {
+          "type" : "string"
+        },
+        "voucher_amount" : {
+          "type" : "string"
+        },
+        "voucher_currency" : {
+          "$ref" : "#/definitions/post-alma-invoice##payment##voucher_currency"
+        }
+      }
+    },
+    "post-alma-invoice##payment_method" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##creation_form" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##invoice_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##invoice_approval_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##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##invoice_vat##type" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##invoice_vat##vat_code" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##invoice_vat" : {
+      "properties" : {
+        "percentage" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "type" : {
+          "$ref" : "#/definitions/post-alma-invoice##invoice_vat##type"
+        },
+        "report_tax" : {
+          "type" : "boolean"
+        },
+        "vat_per_invoice_line" : {
+          "type" : "boolean"
+        },
+        "vat_code" : {
+          "$ref" : "#/definitions/post-alma-invoice##invoice_vat##vat_code"
+        },
+        "vat_amount" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "expended_from_fund" : {
+          "type" : "boolean"
+        }
+      }
+    },
+    "post-alma-invoice##alert" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##note" : {
+      "properties" : {
+        "content" : {
+          "type" : "string"
+        },
+        "creation_date" : {
+          "type" : "string"
+        },
+        "created_by" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice##number_of_lines" : {
+      "properties" : {
+        "value" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "link" : {
+          "type" : "string"
+        }
+      }
+    },
+    "post-alma-invoice" : {
+      "properties" : {
+        "id" : {
+          "type" : "string"
+        },
+        "number" : {
+          "type" : "string"
+        },
+        "vendor" : {
+          "$ref" : "#/definitions/post-alma-invoice##vendor"
+        },
+        "currency" : {
+          "$ref" : "#/definitions/post-alma-invoice##currency"
+        },
+        "owner" : {
+          "$ref" : "#/definitions/post-alma-invoice##owner"
+        },
+        "payment" : {
+          "$ref" : "#/definitions/post-alma-invoice##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##payment_method"
+        },
+        "reference_number" : {
+          "type" : "string"
+        },
+        "creation_form" : {
+          "$ref" : "#/definitions/post-alma-invoice##creation_form"
+        },
+        "invoice_status" : {
+          "$ref" : "#/definitions/post-alma-invoice##invoice_status"
+        },
+        "invoice_workflow_status" : {
+          "type" : "string"
+        },
+        "invoice_approval_status" : {
+          "$ref" : "#/definitions/post-alma-invoice##invoice_approval_status"
+        },
+        "approved_by" : {
+          "type" : "string"
+        },
+        "approval_date" : {
+          "type" : "string"
+        },
+        "additional_charges" : {
+          "$ref" : "#/definitions/post-alma-invoice##additional_charges"
+        },
+        "invoice_vat" : {
+          "$ref" : "#/definitions/post-alma-invoice##invoice_vat"
+        },
+        "explicit_ratio" : {
+          "type" : "string"
+        },
+        "alert" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/post-alma-invoice##alert"
+          }
+        },
+        "note" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/post-alma-invoice##note"
+          }
+        },
+        "number_of_lines" : {
+          "$ref" : "#/definitions/post-alma-invoice##number_of_lines"
+        },
+        "link" : {
+          "type" : "string"
+        }
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/ASP-IICS-Team/Alma/post-alma-invoices_swagger_V2.json b/ASP-IICS-Team/Alma/post-alma-invoices_swagger_V2.json
new file mode 100644
index 0000000..d3f215f
--- /dev/null
+++ b/ASP-IICS-Team/Alma/post-alma-invoices_swagger_V2.json
@@ -0,0 +1,361 @@
+{
+  "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" : [ "get-alma-invoices-swagger_V2" ],
+        "summary" : null,
+        "description" : null,
+        "operationId" : "get-alma-invoices-swagger_V2",
+        "produces" : [ "application/json" ],
+        "consumes" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "body",
+          "in" : "body",
+          "description" : null,
+          "required" : false,
+          "schema" : {
+            "$ref" : "#/definitions/get-alma-invoices-swagger_V2_Request##body"
+          }
+        }, {
+          "name" : "invoice_id",
+          "in" : "path",
+          "description" : null,
+          "required" : false,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "successful operation",
+            "schema" : {
+              "$ref" : "#/definitions/get-alma-invoices-swagger_V2"
+            }
+          }
+        }
+      }
+    }
+  },
+  "definitions" : {
+    "get-alma-invoices-swagger_V2##vendor" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##currency" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##owner" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##payment##payment_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##payment##voucher_currency" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##payment" : {
+      "properties" : {
+        "prepaid" : {
+          "type" : "boolean"
+        },
+        "internal_copy" : {
+          "type" : "boolean"
+        },
+        "payment_status" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##payment##payment_status"
+        },
+        "voucher_date" : {
+          "type" : "string"
+        },
+        "voucher_number" : {
+          "type" : "string"
+        },
+        "voucher_amount" : {
+          "type" : "string"
+        },
+        "voucher_currency" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##payment##voucher_currency"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##payment_method" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##creation_form" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##invoice_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##invoice_approval_status" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-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"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##invoice_vat##type" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##invoice_vat##vat_code" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##invoice_vat" : {
+      "properties" : {
+        "percentage" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "type" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##invoice_vat##type"
+        },
+        "report_tax" : {
+          "type" : "boolean"
+        },
+        "vat_per_invoice_line" : {
+          "type" : "boolean"
+        },
+        "vat_code" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##invoice_vat##vat_code"
+        },
+        "vat_amount" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "expended_from_fund" : {
+          "type" : "boolean"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##alert" : {
+      "properties" : {
+        "value" : {
+          "type" : "string"
+        },
+        "desc" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##note" : {
+      "properties" : {
+        "content" : {
+          "type" : "string"
+        },
+        "creation_date" : {
+          "type" : "string"
+        },
+        "created_by" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2##number_of_lines" : {
+      "properties" : {
+        "value" : {
+          "type" : "number",
+          "format" : "int32"
+        },
+        "link" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2" : {
+      "properties" : {
+        "id" : {
+          "type" : "string"
+        },
+        "number" : {
+          "type" : "string"
+        },
+        "vendor" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##vendor"
+        },
+        "currency" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##currency"
+        },
+        "owner" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##owner"
+        },
+        "payment" : {
+          "$ref" : "#/definitions/get-alma-invoices-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/get-alma-invoices-swagger_V2##payment_method"
+        },
+        "reference_number" : {
+          "type" : "string"
+        },
+        "creation_form" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##creation_form"
+        },
+        "invoice_status" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##invoice_status"
+        },
+        "invoice_workflow_status" : {
+          "type" : "string"
+        },
+        "invoice_approval_status" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##invoice_approval_status"
+        },
+        "approved_by" : {
+          "type" : "string"
+        },
+        "approval_date" : {
+          "type" : "string"
+        },
+        "additional_charges" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##additional_charges"
+        },
+        "invoice_vat" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##invoice_vat"
+        },
+        "explicit_ratio" : {
+          "type" : "string"
+        },
+        "alert" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/get-alma-invoices-swagger_V2##alert"
+          }
+        },
+        "note" : {
+          "type" : "array",
+          "items" : {
+            "$ref" : "#/definitions/get-alma-invoices-swagger_V2##note"
+          }
+        },
+        "number_of_lines" : {
+          "$ref" : "#/definitions/get-alma-invoices-swagger_V2##number_of_lines"
+        },
+        "link" : {
+          "type" : "string"
+        }
+      }
+    },
+    "get-alma-invoices-swagger_V2_Request" : {
+      "properties" : {
+        "body" : {
+          "type" : "string"
+        }
+      }
+    }
+  }
+}
\ No newline at end of file
-- 
GitLab