Sign inSign up

invoicingapi/invoicingapi-api

By invoicingapi

•Updated over 2 years ago

Official images for InvoicingAPI, an API-first toolset for generating beautiful invoices.

Image
API management
Developer tools
0

345

invoicingapi/invoicingapi-api repository overview

⁠InvoicingAPI Docker Image

InvoicingAPI⁠ is a powerful platform designed to simplify the process of creating invoices and managing your invoice payments. Create beautiful, customizable and dynamic, tax-compliant invoices with payment links built in. Get notified when you get paid.

⁠Running the container

Refer to the InvoicingAPI self-hosting documentation⁠ for details regarding configuring the config file required in the docker run command.

docker run --rm --env-file config.txt --name invoicingapi -p 6000:80 invoicingapi/invoicingapi-api

With the above command, the API will be reachable from port 6000. Below is an example request. Visit the InvoicingAPI documentation⁠ for a more comprehensive guidance to using the API.

curl -X POST "http://localhost:6000/invoice/createinvoice" \
    -H "Content-Type: application/json" \
    -d '{
        "template": "business1",
        "logoUrl": "https://www.my_url/logo.png",
        "signatureUrl": "https://www.my_url/signature.png",
        "color": "black",
        "documentType": "a4",
        "fontSize": 11,
        "invoiceNumber": "2024-44",
        "issueDate": "2024-01-11T09:18:54.092Z",
        "dueDate": "2024-05-11T09:18:54.092Z",
        "recipientAddress":{
            "name": "John Doe",
            "email": "[email protected]",
            "addressLine1": "John Keneddy Str",
            "telephone": "(034)-543-43354"
        },
        "lineItems":[
            {
                "description": "App consulting services",
                "quantity": 1,
                "unitPrice": 950
            }
        ],
        "currency": "usd",
        "notes": "Payment Information\nIBAN Number: 43249423423489234",
        "IsPaid": false
    }' \
    -o output.pdf

Tag summary

Content type

Image

Digest

sha256:d6f596262…

Size

204.5 MB

Last updated

over 2 years ago

docker pull invoicingapi/invoicingapi-api