Skip to content

Commit

Permalink
Merge pull request #309 from mvicrob/billing
Browse files Browse the repository at this point in the history
feat: Define API bill converter from JSON to Word
  • Loading branch information
mvicrob authored Dec 28, 2021
2 parents 02475fc + 7df5949 commit 31eb86b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions reference/toaztr.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,37 @@ paths:
security:
- toaztr_auth:
- bills/write
'/v1/bills/{id}/docx':
parameters:
- schema:
type: string
name: id
in: path
required: true
get:
summary: Génère une facture au format Word
operationId: getBillsDocx
responses:
'200':
description: OK
content:
application/vnd.openxmlformats-officedocument.wordprocessingml.document:
schema:
type: string
format: binary
headers: {}
'400':
description: Bad Request
'403':
description: Forbidden
'404':
description: Not Found
'500':
description: Internal Server Error
description: 'Génère une facture au format Word (docx), à partir de son ID.'
security:
- toaztr_auth:
- bills/read
/v1/transfers:
parameters: []
post:
Expand Down

0 comments on commit 31eb86b

Please sign in to comment.