Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions models/enums/PendingReceivedDocumentType.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: PendingReceivedDocumentType
type: string
default: agyo
enum:
- agyo
description: Pending received document type
7 changes: 7 additions & 0 deletions models/responses/GetPendingReceivedDocumentResponse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: GetReceivedDocumentResponse
type: object
properties:
data:
$ref: ../schemas/PendingReceivedDocument.yaml
nullable: true
description: ''
5 changes: 5 additions & 0 deletions models/responses/ListPendingReceivedDocumentsResponse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: ListPendingReceivedDocumentsResponse
allOf:
- $ref: ./pagination/Pagination.yaml
- $ref: ./pagination/ListPendingReceivedDocumentsResponsePage.yaml
description: ''
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
title: ListPendingReceivedDocumentsResponsePage
type: object
properties:
data:
type: array
items:
$ref: ../../schemas/PendingReceivedDocument.yaml
nullable: true
88 changes: 88 additions & 0 deletions models/schemas/PendingReceivedDocument.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
type: object
title: PendingReceivedDocument
properties:
id:
type: integer
nullable: true
description: Pending received document id
date:
type: string
description: Pending received document date [defaults to today's date]
format: date
nullable: true
subject:
type: string
description: Pending received document subject
nullable: true
filename:
type: string
description: Pending received document filename
nullable: true
type:
$ref: ../enums/PendingReceivedDocumentType.yaml
attachment_url:
type: string
description: |-
[Temporary]
[Read Only]
Pending received document url of the attached file
nullable: true
readOnly: true
amount_gross:
type: number
description: |-
[Read Only]
Pending received document total gross amount
currency:
$ref: ./Currency.yaml
document_type:
$ref: ../enums/ReceivedDocumentType.yaml
supplier_name:
type: string
description: Pending received document supplier name
nullable: true
cost_center:
type: string
description: Pending received document cost center
nullable: true
category:
type: string
nullable: true
description: Pending received document category
other_attachments:
type: array
nullable: true
description: Pending received document other attachments
items:
$ref: ./Attachment.yaml
emssion_date:
type: string
description: Pending received document emission date
format: date
nullable: true
payments_list:
type: array
nullable: true
items:
$ref: ./PendingReceivedDocumentPaymentsListItem.yaml
amount_net:
type: number
description: Pending received document total net amount
nullable: true
amount_vat:
type: number
description: Pending received document total vat amount
nullable: true
import_error:
type: string
description: Pending received document import error
nullable: true
extracted_data:
type: object
nullable: true
properties:
mining:
type: object
properties:
save_entity:
type: boolean
39 changes: 39 additions & 0 deletions models/schemas/PendingReceivedDocumentPaymentsListItem.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
title: PendingReceivedDocumentPaymentsListItem
type: object
properties:
id:
type: integer
description: Pending received document payment id
nullable: true
amount:
type: number
description: Pending received document payment total amount
nullable: true
due_date:
type: string
description: Due date
format: date
nullable: true
paid_date:
type: string
description: Pending received document payment paid date
format: date
nullable: true
payment_terms:
type: object
nullable: true
properties:
days:
type: integer
description: >-
Pending received document payment number of days by which the payment must be
made
nullable: true
type:
$ref: ../enums/PaymentTermsType.yaml
status:
type: string
description: Pending received document payment status
nullable: true
payment_account:
$ref: ./PaymentAccount.yaml
Loading