tests/testthat/_snaps/render-invoice.md

Setup bill without saving intermediates.

Code
  make_bill(lang = "nl", .save = FALSE, .bill = bill)
Output
  # A tibble: 4 x 6
    description                VAT_class currency price product group    
    <chr>                          <dbl> <chr>    <dbl> <chr>   <chr>    
  1 Vormgeving (30 uur à € 60)        21 €         1800 service items    
  2 Subtotaal                         NA €         1800 service sub_total
  3 Btw 21 %                          NA €          378 service VAT 21 % 
  4 Totaal                            NA €         2178 service total

two bill entries at once

Code
  add_bill_entry(c("10 foto’s à € 150", "Vormgeving (30 uur à € 60)"), 21, "€", c(
    1500, 1800), c("commodity", "service"))
Output
  # A tibble: 2 x 6
    description                VAT_class currency price product   group
    <chr>                          <dbl> <chr>    <dbl> <chr>     <chr>
  1 10 foto’s à € 150                 21 €         1500 commodity items
  2 Vormgeving (30 uur à € 60)        21 €         1800 service   items


MartinSchobben/bookkeeper documentation built on Dec. 17, 2021, 3:17 a.m.