curl --request POST \
--url http://dolfin-service-973993966394.europe-west2.run.app/invoices \
--header 'Content-Type: application/json' \
--data '
{
"currency": "<string>",
"lineItems": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"taxAmount": 123
}
],
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentNumber": "<string>",
"issueDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"memo": "<string>"
}
'{
"currency": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentNumber": "<string>",
"issueDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"status": "Draft",
"subTotal": 123,
"taxAmount": 123,
"totalAmount": 123,
"memo": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lineItems": [
{
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quantity": 123,
"unitPrice": 123,
"taxAmount": 123,
"subTotal": 123
}
]
}curl --request POST \
--url http://dolfin-service-973993966394.europe-west2.run.app/invoices \
--header 'Content-Type: application/json' \
--data '
{
"currency": "<string>",
"lineItems": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"taxAmount": 123
}
],
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentNumber": "<string>",
"issueDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"memo": "<string>"
}
'{
"currency": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentNumber": "<string>",
"issueDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"status": "Draft",
"subTotal": 123,
"taxAmount": 123,
"totalAmount": 123,
"memo": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lineItems": [
{
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quantity": 123,
"unitPrice": 123,
"taxAmount": 123,
"subTotal": 123
}
]
}Created
Draft, Open, Paid, Void, PartiallyPaid Show child attributes