Billing Info
The billingInfo object is optional. Include it when you need invoicing, VAT, or fiscal data passed to the e-Računi accounting system.
When to Use Billing Info
If your business requires automatic invoice generation through e-Računi, populate this object with the buyer's billing details and include billingItems to describe the invoiced line items.
BillingInfo Fields
| Field | Type | Required | Description |
|---|---|---|---|
billingFirstName | string | No | Billing contact first name |
billingLastName | string | No | Billing contact last name |
billingStreet | string | No | Billing street name |
billingHouseNumber | string | No | Billing house/street number |
billingPostalCode | string | No | Billing postal code |
billingCity | string | No | Billing city |
billingCountry | string | No | 2-letter ISO 3166-1 alpha-2 country code (e.g. RS, DE) |
billingEmail | string | No | Billing contact email |
billingPhone | string | No | Billing contact phone |
buyerTaxNumber | string | No | Buyer's tax/VAT identification number |
orderReference | string | No | Your reference number for the invoice (e.g. ORD-2026-000123) |
methodOfPayment | string | No | e-Računi methodOfPayment value. See e-Računi docs |
vatTransactionType | string | No | e-Računi vatTransactionType value. See e-Računi docs |
billingItems | BillingItem[] | At least 1 if object is present | Array of invoice line items |
BillingItem Fields
Each element in billingItems represents one line on the invoice.
| Field | Type | Required | Description |
|---|---|---|---|
price | number | Yes | Unit gross price, vat included (decimal allowed, e.g. 199.99) |
quantity | number | Yes | Number of units for this line item |
productCode | string | Yes | e-Računi product code |
description | string | Yes | Human-readable product description |
vatRate | number | Yes | VAT percentage to apply (e.g. 27 for 27%) |
Example
"billingInfo": {
"billingFirstName": "Marko",
"billingLastName": "Petrovič",
"billingStreet": "Dunavska",
"billingHouseNumber": "37",
"billingPostalCode": "11000",
"billingCity": "Beograd",
"billingCountry": "RS",
"billingEmail": "marko.petrovic@example.com",
"billingPhone": "+381641234567",
"buyerTaxNumber": "RS123456789",
"orderReference": "ORD-2026-000123",
"methodOfPayment": "BankTransfer",
"vatTransactionType": "106",
"billingItems": [
{
"price": 199.99,
"vatRate": 20,
"description": "Wireless Barcode Scanner",
"productCode": "WBS-001",
"quantity": 2
},
{
"price": 49.90,
"vatRate": 20,
"description": "Thermal Label Roll 100x150mm",
"productCode": "TLR-100150",
"quantity": 5
}
]
}
External References
- e-Računi SalesOrder API Documentation — for
methodOfPaymentandvatTransactionTypevalid values