diff --git a/src/openapi/fiko/fiko-crud.yaml b/src/openapi/fiko/fiko-crud.yaml index 2434861..b8b78ab 100644 --- a/src/openapi/fiko/fiko-crud.yaml +++ b/src/openapi/fiko/fiko-crud.yaml @@ -46,6 +46,7 @@ paths: - occurredOn - type - articleNumber + - paymentMethod - status - aggregationReference - accountingSystemReference @@ -76,6 +77,7 @@ paths: - occurredOn - type - articleNumber + - paymentMethod - status - aggregationReference - accountingSystemReference @@ -115,6 +117,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4031" + paymentMethod: iDEAL status: created aggregationReference: null accountingSystemReference: null @@ -134,6 +137,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4051" + paymentMethod: iDEAL status: failed aggregationReference: null accountingSystemReference: null @@ -153,6 +157,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4051" + paymentMethod: iDEAL status: returned to src aggregationReference: FIKO-171f40609e accountingSystemReference: null @@ -172,6 +177,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4051" + paymentMethod: iDEAL status: returned to trx-db aggregationReference: null accountingSystemReference: null @@ -191,6 +197,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4051" + paymentMethod: iDEAL status: re-entered aggregationReference: null accountingSystemReference: null @@ -210,6 +217,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "1737" + paymentMethod: iDEAL status: succeeded aggregationReference: FIKO-6a4fca8cd6 accountingSystemReference: U4F-123456 @@ -248,6 +256,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4031" + paymentMethod: iDEAL Add multiple transaction items: summary: Add multiple transaction items description: Add multiple transaction items of type sales. @@ -266,6 +275,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4031" + paymentMethod: iDEAL - transactionType: sales sourceName: HTM-website transactionId: "1001237" @@ -279,6 +289,7 @@ paths: occurredOn: 2024-10-04T00:00:00Z type: debit articleNumber: "4031" + paymentMethod: iDEAL responses: "202": description: Accepted @@ -1447,6 +1458,7 @@ paths: identifyingFieldValue: null concessionId: null isContraAccount: false + paymentMethod: null lineType: tax lineSense: credit department: 140 @@ -1469,6 +1481,7 @@ paths: identifyingFieldValue: null concessionId: 1 isContraAccount: false + paymentMethod: null lineType: analysis lineSense: credit department: 900 @@ -1491,6 +1504,7 @@ paths: identifyingFieldValue: null concessionId: null isContraAccount: true + paymentMethod: iDEAL lineType: analysis lineSense: debet department: 140 @@ -1726,6 +1740,7 @@ paths: - identifyingFieldValue - concessionId - isContraAccount + - paymentMethod - lineType - lineSense - department @@ -1759,6 +1774,7 @@ paths: - identifyingFieldValue - concessionId - isContraAccount + - paymentMethod - lineType - lineSense - department @@ -1810,6 +1826,7 @@ paths: identifyingFieldValue: null concessionId: 2 isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -1832,6 +1849,7 @@ paths: identifyingFieldValue: null concessionId: 1 isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -1863,6 +1881,7 @@ paths: identifyingFieldValue: null concessionId: 2 isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -1884,6 +1903,8 @@ paths: sourceMetadataId: 2c55f374-8ef8-4615-bc0a-5c92184ff4b2 identifyingFieldValue: null concessionId: 1 + isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -1906,6 +1927,7 @@ paths: identifyingFieldValue: null concessionId: 2 isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -1928,6 +1950,7 @@ paths: identifyingFieldValue: null concessionId: 1 isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -1950,6 +1973,7 @@ paths: identifyingFieldValue: null concessionId: null isContraAccount: false + paymentMethod: null lineType: tax lineSense: credit department: 140 @@ -1972,6 +1996,7 @@ paths: identifyingFieldValue: null concessionId: null isContraAccount: true + paymentMethod: iDEAL lineType: analysis lineSense: credit department: 220 @@ -2021,6 +2046,7 @@ paths: identifyingFieldValue: null concessionId: 1 isContraAccount: false + paymentMethod: null lineType: summary lineSense: credit department: 900 @@ -3284,6 +3310,10 @@ components: type: string nullable: true example: "4031" + paymentMethod: + type: string + nullable: true + example: iDEAL status: type: string enum: @@ -3375,6 +3405,10 @@ components: type: string nullable: true example: "4031" + paymentMethod: + type: string + nullable: true + example: iDEAL required: - sourceName - transactionType @@ -3458,46 +3492,6 @@ components: TransactionItemsPatchRequestBody: type: object properties: - name: - type: string - nullable: true - example: HTM Maandkorting 20% - quantity: - type: integer - nullable: true - example: 1 - taxCode: - type: string - nullable: true - example: V21 - amountExclTax: - type: integer - nullable: true - example: 100 - amountInclTax: - type: integer - nullable: true - example: 121 - amountTax: - type: integer - nullable: true - example: 21 - occurredOn: - type: string - nullable: true - format: date-time - example: 2024-10-04T00:00:00Z - type: - type: string - nullable: true - enum: - - debit - - credit - example: debit - articleNumber: - type: string - nullable: true - example: 4031 status: type: string enum: @@ -4098,6 +4092,10 @@ components: isContraAccount: type: boolean example: false + paymentMethod: + type: string + example: iDEAL + nullable: true lineType: type: string enum: @@ -4215,6 +4213,10 @@ components: isContraAccount: type: boolean example: false + paymentMethod: + type: string + example: iDEAL + nullable: true lineType: type: string enum: @@ -4304,6 +4306,10 @@ components: type: boolean example: false nullable: true + paymentMethod: + type: string + example: iDEAL + nullable: true lineType: type: string enum: